aboutsummaryrefslogtreecommitdiffstats
path: root/projects/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'projects/CMakeLists.txt')
-rw-r--r--projects/CMakeLists.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/projects/CMakeLists.txt b/projects/CMakeLists.txt
index fc6483c..e23a277 100644
--- a/projects/CMakeLists.txt
+++ b/projects/CMakeLists.txt
@@ -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()
@@ -19,9 +20,9 @@ if(${LLVM_BUILD_RUNTIME})
if(NOT MSVC)
add_llvm_external_project(libcxx)
endif()
- if(${CMAKE_VERSION} VERSION_GREATER 2.8.7)
+ if(NOT LLVM_BUILD_EXTERNAL_COMPILER_RT)
add_llvm_external_project(compiler-rt)
- else()
- message(WARNING "Can't build compiler-rt, CMake 2.8.8 required!")
endif()
endif()
+
+add_llvm_external_project(dragonegg)