Commit 92791e4f by Maarten L. Hekkelman

using CTest

parent b619f4a6
...@@ -36,6 +36,7 @@ include(CheckLibraryExists) ...@@ -36,6 +36,7 @@ include(CheckLibraryExists)
include(CMakePackageConfigHelpers) include(CMakePackageConfigHelpers)
include(FindFilesystem) include(FindFilesystem)
include(GenerateExportHeader) include(GenerateExportHeader)
include(CTest)
set(CXX_EXTENSIONS OFF) set(CXX_EXTENSIONS OFF)
set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD 17)
...@@ -174,7 +175,7 @@ if(EXISTS "${CCP4}/html") ...@@ -174,7 +175,7 @@ if(EXISTS "${CCP4}/html")
endif() endif()
# test # test
if(ENABLE_TESTING) if(BUILD_TESTING)
# We still depend on boost for the testing headers-only library # We still depend on boost for the testing headers-only library
find_package(Boost REQUIRED) find_package(Boost REQUIRED)
......
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