From 23a3567bf1304b76ea3db838d068c2789cc10666 Mon Sep 17 00:00:00 2001 From: Michael Gottesman Date: Tue, 20 Aug 2013 07:09:54 +0000 Subject: [PATCH] [autotools->cmake] Move add_subdirectory(test) inside CLANG_INCLUDE_TESTS to match the behavior of the LLVM where LLVM_INCLUDE_TESTS controls whether tests is included. llvm-svn: 188760 --- clang/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/CMakeLists.txt b/clang/CMakeLists.txt index 54ec745e8275..e6863b25dc5d 100644 --- a/clang/CMakeLists.txt +++ b/clang/CMakeLists.txt @@ -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()