mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-12 06:57:57 +04:00
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:
1 parent
ddb23f3a02
commit
e4f2ae3b8d
1 file changed
+3
-3
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user