tools/cmake: update to 3.27.1
[openwrt/staging/neocturne.git] / tools / cmake / patches / 100-no-testing.patch
index 44452ce39eced3b60a922cf01f5848ac5e321090..736a365e874a129f780eb220043d279234ba8859 100644 (file)
  # like vs9 or vs10
 --- a/Modules/Dart.cmake
 +++ b/Modules/Dart.cmake
-@@ -33,7 +33,7 @@ whether testing support should be enable
- #
- #
+@@ -47,7 +47,7 @@ if(cmp0145 STREQUAL "")
+   message(AUTHOR_WARNING "${_cmp0145_warning}")
+ endif()
  
 -option(BUILD_TESTING "Build the testing tree." ON)
 +option(BUILD_TESTING "Build the testing tree." OFF)
  
  if(BUILD_TESTING)
-   find_package(Dart QUIET)
+   # 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