From: Douglas Gregor Date: Fri, 25 Feb 2011 00:32:30 +0000 (+0000) Subject: LLVM_INCLUDE_TESTS applies to unit tests, not the normal Clang tests X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=670d6ed9f058526af4c07724f7da50139e252a22;p=clang LLVM_INCLUDE_TESTS applies to unit tests, not the normal Clang tests git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126458 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index afbe13b485..a5306fcb9a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -245,9 +245,9 @@ add_subdirectory(tools) add_subdirectory(runtime) # TODO: docs. -if( LLVM_INCLUDE_TESTS ) - add_subdirectory(test) +add_subdirectory(test) +if( LLVM_INCLUDE_TESTS ) if( NOT CLANG_BUILT_STANDALONE ) add_subdirectory(unittests) endif()