[cfe-commits] r126455 - /cfe/trunk/CMakeLists.txt
Douglas Gregor
dgregor at apple.com
Thu Feb 24 16:12:04 PST 2011
Author: dgregor
Date: Thu Feb 24 18:12:04 2011
New Revision: 126455
URL: http://llvm.org/viewvc/llvm-project?rev=126455&view=rev
Log:
Don't include Clang's unit tests if LLVM's unit tests aren't being built
Modified:
cfe/trunk/CMakeLists.txt
Modified: cfe/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CMakeLists.txt?rev=126455&r1=126454&r2=126455&view=diff
==============================================================================
--- cfe/trunk/CMakeLists.txt (original)
+++ cfe/trunk/CMakeLists.txt Thu Feb 24 18:12:04 2011
@@ -246,12 +246,11 @@
# 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
More information about the cfe-commits
mailing list