aboutsummaryrefslogtreecommitdiffstats
path: root/projects
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-01-22 18:14:27 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-01-22 18:14:27 +0000
commitcaad8094a57155e817f014f8ee65ba4f20804738 (patch)
treeaa1ee93e68c6bcf0782f3ecee07de0b87f6acea1 /projects
parente4a4d0de48fcefc0f53025a3ffd22d5dd3a15d76 (diff)
downloadexternal_llvm-caad8094a57155e817f014f8ee65ba4f20804738.zip
external_llvm-caad8094a57155e817f014f8ee65ba4f20804738.tar.gz
external_llvm-caad8094a57155e817f014f8ee65ba4f20804738.tar.bz2
CMake: Don't try to descend into projects/compiler-rt, it doesn't work.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94187 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'projects')
-rw-r--r--projects/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/projects/CMakeLists.txt b/projects/CMakeLists.txt
index 78e12fd..1a286db 100644
--- a/projects/CMakeLists.txt
+++ b/projects/CMakeLists.txt
@@ -4,6 +4,8 @@
file(GLOB entries *)
foreach(entry ${entries})
if(IS_DIRECTORY ${entry} AND EXISTS ${entry}/CMakeLists.txt)
- add_subdirectory(${entry})
+ if(NOT (${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/compiler-rt))
+ add_subdirectory(${entry})
+ endif()
endif()
endforeach(entry)