Release notes:https://cmake.org/cmake/help/latest/release/4.4.html Refresh patches: - 100-no-testing.patch - 130-bootstrap_parallel_make_flag.patch - 150-zstd-libarchive.patch - 160-disable_xcode_generator.patch Signed-off-by: Jack Sun <sunjiazheng321521@gmail.com> Link: https://github.com/openwrt/openwrt/pull/24324 Signed-off-by: Robert Marko <robimarko@gmail.com>
33 lines
1.1 KiB
Diff
33 lines
1.1 KiB
Diff
--- a/Modules/CTest.cmake
|
|
+++ b/Modules/CTest.cmake
|
|
@@ -60,7 +60,7 @@ the :variable:`CTEST_USE_LAUNCHERS` vari
|
|
in the ``CTestConfig.cmake`` file.
|
|
#]=======================================================================]
|
|
|
|
-option(BUILD_TESTING "Build the testing tree." ON)
|
|
+option(BUILD_TESTING "Build the testing tree." OFF)
|
|
|
|
# function to turn generator name into a version string
|
|
# like vs9 or vs10
|
|
--- a/Modules/Dart.cmake
|
|
+++ b/Modules/Dart.cmake
|
|
@@ -46,7 +46,7 @@ if(cmp0145 STREQUAL "")
|
|
cmake_policy(ISSUE_WARNING CMP0145)
|
|
endif()
|
|
|
|
-option(BUILD_TESTING "Build the testing tree." ON)
|
|
+option(BUILD_TESTING "Build the testing tree." OFF)
|
|
|
|
if(BUILD_TESTING)
|
|
# We only get here if a project already ran include(Dart),
|
|
--- a/Tests/Contracts/VTK/Dashboard.cmake.in
|
|
+++ b/Tests/Contracts/VTK/Dashboard.cmake.in
|
|
@@ -25,7 +25,7 @@ ctest_empty_binary_directory(${CTEST_BIN
|
|
|
|
file(WRITE "${CTEST_BINARY_DIRECTORY}/CMakeCache.txt" "
|
|
VTK_BUILD_EXAMPLES:BOOL=ON
|
|
- VTK_BUILD_TESTING:STRING=WANT
|
|
+ VTK_BUILD_TESTING:STRING=OFF
|
|
VTK_WRAP_PYTHON:BOOL=ON
|
|
ExternalData_OBJECT_STORES:FILEPATH=@base_dir@/ExternalData
|
|
")
|