LLVM_INCLUDE_TESTS applies to unit tests, not the normal Clang tests

llvm-svn: 126458
This commit is contained in:
Douglas Gregor 2011-02-25 00:32:30 +00:00
parent 70d29634a9
commit 49709e75bb
1 changed files with 2 additions and 2 deletions

View File

@ -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()