mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-17 00:38:08 +08:00
fix: include test dir if BUILD_TOML_TESTS=ON
This commit is contained in:
@@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user