Commit 088bda67 authored by Kenneth Leiter's avatar Kenneth Leiter

COMP: Fix duplicate BUILD_TESTING and XDMF_BUILD_TESTING in build script.

Stick with BUILD_TESTING option as it seems to be the CMake standard.
parent 4d392806
......@@ -22,11 +22,12 @@ if(XDMF_BUILD_DOCUMENTATION)
add_subdirectory(doc)
endif(XDMF_BUILD_DOCUMENTATION)
option(XDMF_BUILD_TESTING ON)
if(XDMF_BUILD_TESTING)
# Enable CMake testing
option(BUILD_TESTING "Build Tests" OFF)
if(BUILD_TESTING)
enable_testing()
include(CTest)
endif(XDMF_BUILD_TESTING)
endif(BUILD_TESTING)
# Wrapper Setup
option(XDMF_WRAP_PYTHON OFF)
......@@ -222,5 +223,4 @@ if(NOT XDMF_BUILD_CORE_ONLY)
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib)
endif(NOT XDMF_BUILD_CORE_ONLY)
endif(NOT XDMF_BUILD_CORE_ONLY)
\ No newline at end of file
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