]> granicus.if.org Git - clang/commitdiff
[autotools->cmake] Move add_subdirectory(test) inside CLANG_INCLUDE_TESTS to match...
authorMichael Gottesman <mgottesman@apple.com>
Tue, 20 Aug 2013 07:09:54 +0000 (07:09 +0000)
committerMichael Gottesman <mgottesman@apple.com>
Tue, 20 Aug 2013 07:09:54 +0000 (07:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188760 91177308-0d34-0410-b5e6-96231b3b80d8

CMakeLists.txt

index 54ec745e8275ef0d6f25b66942cd0038a5f500b0..e6863b25dc5d2cb0889452cb2cc26e4ba23117d4 100644 (file)
@@ -320,9 +320,9 @@ option(CLANG_INCLUDE_TESTS
        ${LLVM_INCLUDE_TESTS})
 
 # TODO: docs.
-add_subdirectory(test)
 
 if( CLANG_INCLUDE_TESTS )
+  add_subdirectory(test)
   add_subdirectory(unittests)
 endif()