From ca1d2209c4f35b86ed95330c06bfeef0b7191c5f Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Wed, 28 Oct 2015 18:36:56 +0000 Subject: [PATCH] [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. llvm-svn: 251543 --- llvm/projects/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm/projects/CMakeLists.txt b/llvm/projects/CMakeLists.txt index d3b2fc37af79..4839dd396706 100644 --- a/llvm/projects/CMakeLists.txt +++ b/llvm/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()