From 6da35a811a42ada35612b0453737879e99e18b98 Mon Sep 17 00:00:00 2001 From: Torsten Rasmussen Date: Tue, 22 Oct 2024 10:02:15 +0200 Subject: [PATCH] cmake: limit Zephyr SDK to 0.16.x series for Zephyr 3.7 LTS Zephyr SDK compatibility level 0.16 is now an LTS intended for Zephyr v3.7 LTS. Thus, limit the upper Zephyr SDK lookup to <0.17, so that developers working with Zephyr v3.7 LTS and latest Zephyr main can install both Zephyr SDK 0.16.x along side Zephyr SDK >=0.17 and have the Zephyr SDK 0.16.x series being used for v3.7 LTS development. Signed-off-by: Torsten Rasmussen --- cmake/modules/FindHostTools.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/modules/FindHostTools.cmake b/cmake/modules/FindHostTools.cmake index 8d3c9eccaaf..69c87d868c0 100644 --- a/cmake/modules/FindHostTools.cmake +++ b/cmake/modules/FindHostTools.cmake @@ -50,7 +50,7 @@ endif() find_package(Deprecated COMPONENTS CROSS_COMPILE) -find_package(Zephyr-sdk 0.16) +find_package(Zephyr-sdk 0.16...<0.17) # gperf is an optional dependency find_program(GPERF gperf)