llvm/projects/CMakeLists.txt: Add dragonegg.
[oota-llvm.git] / projects / CMakeLists.txt
index fc6483ca35620474c5748b902b6e8613362bde74..f0890bb867986446dd79fdef8384bc3366f5e1b1 100644 (file)
@@ -5,6 +5,7 @@ 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) AND
+       (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/dragonegg) AND
        (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/libcxx))
       add_subdirectory(${entry})
     endif()
@@ -25,3 +26,5 @@ if(${LLVM_BUILD_RUNTIME})
     message(WARNING "Can't build compiler-rt, CMake 2.8.8 required!")
   endif()
 endif()
+
+add_llvm_external_project(dragonegg)