[pseudo] respect CLANG_INCLUDE_TESTS

This commit is contained in:
Sam McCall 2022-04-04 15:30:11 +02:00
parent b0abada8fe
commit 72ae6cc3a6
1 changed files with 4 additions and 2 deletions

View File

@ -2,5 +2,7 @@ include_directories(include)
include_directories(${CMAKE_CURRENT_BINARY_DIR}/include)
add_subdirectory(lib)
add_subdirectory(tool)
if(CLANG_INCLUDE_TESTS)
add_subdirectory(unittests)
add_subdirectory(test)
endif()