From 369cbcc8911f1e2b3708873757410d070adbcc1b Mon Sep 17 00:00:00 2001 From: Vassil Vassilev Date: Mon, 21 Oct 2013 09:53:15 -0500 Subject: [PATCH] From Peter Kummel and me: Update the diff to use the new llvm infrastructure. --- patches/llvm-tools-CMakeLists.txt.diff | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/llvm-tools-CMakeLists.txt.diff b/patches/llvm-tools-CMakeLists.txt.diff index ad91eb61..23d5a9f8 100644 --- a/patches/llvm-tools-CMakeLists.txt.diff +++ b/patches/llvm-tools-CMakeLists.txt.diff @@ -7,7 +7,7 @@ Index: tools/CMakeLists.txt 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 ) ++ add_llvm_external_project( ${CMAKE_CURRENT_SOURCE_DIR}/cling ) ++endif() + set(LLVM_COMMON_DEPENDS ${LLVM_COMMON_DEPENDS} PARENT_SCOPE)