mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-05-05 22:53:52 +00:00
Hiding single file tests option if single file is off
This commit is contained in:
parent
aad3a6b429
commit
36cf13cec6
@ -135,7 +135,7 @@ if(CLI11_SINGLE_FILE)
|
||||
target_include_directories(CLI11_SINGLE INTERFACE "${CMAKE_CURRENT_BINARY_DIR}/include/")
|
||||
endif()
|
||||
|
||||
option(CLI11_SINGLE_FILE_TESTS "Duplicate all the tests for a single file build" OFF)
|
||||
cmake_dependent_option(CLI11_SINGLE_FILE_TESTS "Duplicate all the tests for a single file build" OFF "CLI11_SINGLE_FILE" OFF)
|
||||
|
||||
cmake_dependent_option(CLI11_TESTING "Build the tests and add them" ON "CUR_PROJ" OFF)
|
||||
if(CLI11_TESTING)
|
||||
|
Loading…
x
Reference in New Issue
Block a user