From 670d6ed9f058526af4c07724f7da50139e252a22 Mon Sep 17 00:00:00 2001 From: Douglas Gregor <dgregor@apple.com> Date: Fri, 25 Feb 2011 00:32:30 +0000 Subject: [PATCH] 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 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()