1
0
forked from boostorg/mp11

Set BUILD_TESTING to OFF by default

This commit is contained in:
Peter Dimov
2021-10-08 16:29:40 +03:00
parent c4e2259c8f
commit 294fc9335e

View File

@@ -31,10 +31,10 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
list(APPEND CMAKE_MODULE_PATH ${boostorg_cmake_SOURCE_DIR}/include)
# Enable testing
# Testing (off by default)
option(BUILD_TESTING "Build the tests." OFF)
include(CTest)
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -C $<CONFIG>)
if(BUILD_TESTING)