Deactivate unit test by default when stduuid is not the main CMake project
This commit is contained in:
parent
2ff6222e9f
commit
44160cca3f
@ -8,7 +8,7 @@ endif()
|
||||
project(stduuid CXX)
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")
|
||||
|
||||
option(UUID_BUILD_TESTS "Build the unit tests" ON)
|
||||
option(UUID_BUILD_TESTS "Build the unit tests" ${UUID_MAIN_PROJECT})
|
||||
option(UUID_SYSTEM_GENERATOR "Enable operating system uuid generator" OFF)
|
||||
option(UUID_TIME_GENERATOR "Enable experimental time-based uuid generator" OFF)
|
||||
option(UUID_USING_CXX20_SPAN "Using span from std instead of gsl" OFF)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user