summaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2015-10-28 18:36:56 +0000
committerChris Bieneman <beanz@apple.com>2015-10-28 18:36:56 +0000
commit6e6a508cb9fdf20250b6e7a4692b7b5b69fd5580 (patch)
tree289dce740efe68536d4ed025db54a6851c601ba0 /projects
parent76481a832623c2a61761a9e78137116c070007cc (diff)
[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
Diffstat (limited to 'projects')
-rw-r--r--projects/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
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()