cling/patches/llvm-tools-CMakeLists.txt.diff
2012-09-05 09:37:39 +00:00

14 lines
515 B
Diff

Index: tools/CMakeLists.txt
===================================================================
--- tools/CMakeLists.txt (revision 159991)
+++ tools/CMakeLists.txt (working copy)
@@ -52,4 +52,8 @@
add_llvm_external_project(lld)
add_llvm_external_project(polly)
+if( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/cling/CMakeLists.txt )
+ add_subdirectory( ${CMAKE_CURRENT_SOURCE_DIR}/cling )
+endif( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/cling/CMakeLists.txt )
+
set(LLVM_COMMON_DEPENDS ${LLVM_COMMON_DEPENDS} PARENT_SCOPE)