Don't include Clang's unit tests if LLVM's unit tests aren't being built
llvm-svn: 126455
This commit is contained in:
parent
17bee3e70a
commit
0e066c0238
|
@ -246,12 +246,11 @@ add_subdirectory(runtime)
|
|||
|
||||
# TODO: docs.
|
||||
if( LLVM_INCLUDE_TESTS )
|
||||
add_subdirectory(test)
|
||||
endif()
|
||||
add_subdirectory(test)
|
||||
|
||||
# FIXME: unittests require gtest.
|
||||
if( NOT CLANG_BUILT_STANDALONE )
|
||||
add_subdirectory(unittests)
|
||||
if( NOT CLANG_BUILT_STANDALONE )
|
||||
add_subdirectory(unittests)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Workaround for MSVS10 to avoid the Dialog Hell
|
||||
|
|
Loading…
Reference in New Issue