diff options
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 14fe46fe6e..fc1fed4988 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -276,13 +276,13 @@ add_subdirectory(runtime) option(CLANG_BUILD_EXAMPLES "Build CLANG example programs by default." OFF) add_subdirectory(examples) -# TODO: docs. -add_subdirectory(test) - option(CLANG_INCLUDE_TESTS "Generate build targets for the Clang unit tests." ${LLVM_INCLUDE_TESTS}) +# TODO: docs. +add_subdirectory(test) + if( CLANG_INCLUDE_TESTS ) add_subdirectory(unittests) endif() |