Commit 3f3d2c76 authored by bonnell's avatar bonnell

Don't configure CTest if BUILD_TESTING off

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@22525 18c085ea-50e0-402c-830e-de6fd14e8384
parent afe100c7
......@@ -831,12 +831,12 @@ VISIT_INSTALLED_VERSION_INCLUDE
# deafult to off until things are
# settled down
SET(BUILD_TESTING OFF CACHE BOOL "Build testing tree")
INCLUDE(CTest)
CONFIGURE_FILE(
"${CMAKE_CURRENT_SOURCE_DIR}/CTestCustom.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/CTestCustom.cmake"
@ONLY)
IF(BUILD_TESTING)
INCLUDE(CTest)
CONFIGURE_FILE(
"${CMAKE_CURRENT_SOURCE_DIR}/CTestCustom.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/CTestCustom.cmake"
@ONLY)
SUBDIRS(tests)
ENDIF()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment