From 7758bb561bc97c6a6292369bb3b5b1b8b6468f47 Mon Sep 17 00:00:00 2001 From: Michael Gottesman Date: Tue, 20 Aug 2013 07:09:54 +0000 Subject: [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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188760 91177308-0d34-0410-b5e6-96231b3b80d8 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 54ec745e82..e6863b25dc 100644 --- a/CMakeLists.txt +++ b/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() -- cgit v1.2.3