aboutsummaryrefslogtreecommitdiffstats
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.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/cmake/patches/100-no-testing.patch b/tools/cmake/patches/100-no-testing.patch
index 501302b835..44452ce39e 100644
--- a/tools/cmake/patches/100-no-testing.patch
+++ b/tools/cmake/patches/100-no-testing.patch
@@ -1,6 +1,6 @@
--- a/Modules/CTest.cmake
+++ b/Modules/CTest.cmake
-@@ -47,7 +47,7 @@ the :variable:`CTEST_USE_LAUNCHERS` variable::
+@@ -47,7 +47,7 @@ the :variable:`CTEST_USE_LAUNCHERS` vari
in the ``CTestConfig.cmake`` file.
#]=======================================================================]
@@ -11,7 +11,7 @@
# like vs9 or vs10
--- a/Modules/Dart.cmake
+++ b/Modules/Dart.cmake
-@@ -33,7 +33,7 @@ whether testing support should be enabled. The default is ON.
+@@ -33,7 +33,7 @@ whether testing support should be enable
#
#
@@ -22,12 +22,12 @@
find_package(Dart QUIET)
--- a/Tests/Contracts/VTK/Dashboard.cmake.in
+++ b/Tests/Contracts/VTK/Dashboard.cmake.in
-@@ -25,7 +25,7 @@ ctest_empty_binary_directory(${CTEST_BINARY_DIRECTORY})
+@@ -25,7 +25,7 @@ ctest_empty_binary_directory(${CTEST_BIN
file(WRITE "${CTEST_BINARY_DIRECTORY}/CMakeCache.txt" "
- BUILD_EXAMPLES:BOOL=ON
-- BUILD_TESTING:BOOL=ON
-+ BUILD_TESTING:BOOL=OFF
+ 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
")