mirror of
https://github.com/ToruNiina/toml11.git
synced 2024-11-27 06:40:06 +00:00
fix: include test dir if BUILD_TOML_TESTS=ON
This commit is contained in:
parent
acf00fc476
commit
18ccd6b237
@ -43,7 +43,7 @@ if(${CMAKE_PROJECT_NAME} STREQUAL ${PROJECT_NAME})
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
endif()
|
||||
|
||||
if(${TOML11_BUILD_TESTS})
|
||||
if(${TOML11_BUILD_TESTS} OR ${TOML11_BUILD_TOML_TESTS})
|
||||
add_subdirectory(tests)
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user