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
This commit is contained in:
Daniel Dunbar 2010-01-22 18:14:27 +00:00
parent f63623fb3f
commit 50a5aa19ca

View File

@ -4,6 +4,8 @@
file(GLOB entries *)
foreach(entry ${entries})
if(IS_DIRECTORY ${entry} AND EXISTS ${entry}/CMakeLists.txt)
if(NOT (${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/compiler-rt))
add_subdirectory(${entry})
endif()
endif()
endforeach(entry)