forked from boostorg/mp11
Set BUILD_TESTING to OFF by default
This commit is contained in:
1 parent
c4e2259c8f
commit
294fc9335e
1 file changed
+2
-2
+2
-2
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user