aboutsummaryrefslogtreecommitdiff
path: root/tools/cmake/patches/100-no-testing.patch
diff options
context:
space:
mode:
Diffstat (limited to 'tools/cmake/patches/100-no-testing.patch')
-rw-r--r--tools/cmake/patches/100-no-testing.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/cmake/patches/100-no-testing.patch b/tools/cmake/patches/100-no-testing.patch
index 44452ce39e..736a365e87 100644
--- a/tools/cmake/patches/100-no-testing.patch
+++ b/tools/cmake/patches/100-no-testing.patch
@@ -11,15 +11,15 @@
# 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