Don't build test cases by default. Only build them, when -DBUILD_TESTING=on is specified.
This commit is contained in:
parent
1e975f64f7
commit
29f3c07539
@ -5,6 +5,11 @@ include(utils.cmake)
|
||||
require_gcc_version(4.8)
|
||||
require_clang_version(3.5) # clang 3.5 needed for spdlog dependency
|
||||
|
||||
# Default value is not to build test cases
|
||||
if(NOT DEFINED BUILD_TESTING)
|
||||
set(BUILD_TESTING OFF CACHE INTERNAL "BUILD_TESTING")
|
||||
endif(NOT DEFINED BUILD_TESTING)
|
||||
|
||||
add_subdirectory(vendor)
|
||||
add_subdirectory(src)
|
||||
add_subdirectory(test)
|
||||
|
Loading…
Reference in New Issue
Block a user