tools/cmake: pass testing option after bootstrap separator

Host/Configure/Default supplies the bootstrap "--" separator before
CMAKE_HOST_OPTIONS. Keep BUILD_TESTING with the CMake cache options so
it is passed after that separator, without introducing a second one.

Fixes: ddb23f3a02 ("tools/cmake: pass -DBUILD_TESTING=OFF to bootstrap")
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Robert Marko committed 2026-09-23 16:57:43 +02:00
1 parent ddb23f3a02
commit e4f2ae3b8d
1 file changed
+3 -3
+3 -3
View File
@@ -37,12 +37,12 @@ HOST_CONFIGURE_ARGS := \
--system-liblzma \
--system-zlib \
--system-zstd \
--generator=Ninja \
-- -DBUILD_TESTING=OFF
--generator=Ninja
CMAKE_HOST_OPTIONS = \
-DZSTD_INCLUDE_DIR="$(STAGING_DIR_HOST)/include" \
-DZSTD_LIBRARY="$(STAGING_DIR_HOST)/lib/libzstd.a"
-DZSTD_LIBRARY="$(STAGING_DIR_HOST)/lib/libzstd.a" \
-DBUILD_TESTING=OFF
define Host/Configure
$(call Host/Configure/Default,-- $(CMAKE_HOST_OPTIONS))