diff --git a/clang/CMakeLists.txt b/clang/CMakeLists.txt index 54ec745e8275..e6863b25dc5d 100644 --- a/clang/CMakeLists.txt +++ b/clang/CMakeLists.txt @@ -320,9 +320,9 @@ option(CLANG_INCLUDE_TESTS ${LLVM_INCLUDE_TESTS}) # TODO: docs. -add_subdirectory(test) if( CLANG_INCLUDE_TESTS ) + add_subdirectory(test) add_subdirectory(unittests) endif()