Commit f5d3a732 authored by jcfr's avatar jcfr
Browse files

BUG: CTestCustom is configured in both top-level and inner directory

That should allows ctest to find the file both when run using a
dashboard script or run from the command line in the inner build directory

git-svn-id: http://svn.slicer.org/Slicer4/trunk@15194 3bd1e089-480b-0410-8dfb-8563597acbee
parent 77f1ac51
......@@ -153,6 +153,16 @@ if(Slicer_USE_KWWIDGETS)
MARK_AS_ADVANCED(Slicer_USE_PYTHON Slicer_BUILD_MODULES)
endif()
#-----------------------------------------------------------------------------
# CTestCustom
#-----------------------------------------------------------------------------
IF(BUILD_TESTING)
CONFIGURE_FILE(
CMake/CTestCustom.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/CTestCustom.cmake
@ONLY)
ENDIF()
#-----------------------------------------------------------------------------
# Additional CXX/C Flags
#-----------------------------------------------------------------------------
......@@ -349,11 +359,6 @@ IF(BUILD_TESTING)
SET(CXX_TEST_PATH ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
MARK_AS_ADVANCED(TCL_TCLSH DART_ROOT)
CONFIGURE_FILE(
CMake/CTestCustom.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/CTestCustom.cmake
@ONLY)
CONFIGURE_FILE(
${Slicer_SOURCE_DIR}/CTestConfig.cmake
......
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