Run this on thumb and arm.
[oota-llvm.git] / projects / CMakeLists.txt
index 78e12fd34a047db8d340cc5d6716fcb824222111..415530e33236788ac26f296f6b88e4b2acdf6129 100644 (file)
@@ -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)