From: Chris Bieneman Date: Wed, 28 Oct 2015 18:36:56 +0000 (+0000) Subject: [CMake] Disable adding the test suite as a projects subdirectory X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=6e6a508cb9fdf20250b6e7a4692b7b5b69fd5580;p=oota-llvm.git [CMake] Disable adding the test suite as a projects subdirectory This will never work as an add_subdirectory call, so we should just make sure it doesn't happen. To do this properly we'll need to add it under clang similar to the external compiler-rt. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251543 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/projects/CMakeLists.txt b/projects/CMakeLists.txt index d3b2fc37af7..4839dd39670 100644 --- a/projects/CMakeLists.txt +++ b/projects/CMakeLists.txt @@ -8,7 +8,8 @@ foreach(entry ${entries}) (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/dragonegg) AND (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/libcxx) AND (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/libcxxabi) AND - (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/libunwind)) + (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/libunwind) AND + (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/test-suite)) add_subdirectory(${entry}) endif() endif()