[llvm-commits] [llvm] r164424 - /llvm/trunk/projects/CMakeLists.txt
Michael J. Spencer
bigcheesegs at gmail.com
Fri Sep 21 15:49:06 PDT 2012
Author: mspencer
Date: Fri Sep 21 17:49:06 2012
New Revision: 164424
URL: http://llvm.org/viewvc/llvm-project?rev=164424&view=rev
Log:
[CMake] Respect LLVM_BUILD_RUNTIME.
Modified:
llvm/trunk/projects/CMakeLists.txt
Modified: llvm/trunk/projects/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/projects/CMakeLists.txt?rev=164424&r1=164423&r2=164424&view=diff
==============================================================================
--- llvm/trunk/projects/CMakeLists.txt (original)
+++ llvm/trunk/projects/CMakeLists.txt Fri Sep 21 17:49:06 2012
@@ -14,6 +14,7 @@
# Also add in the compiler-rt tree if present and we have a sufficiently
# recent version of CMake.
if(${CMAKE_VERSION} VERSION_GREATER 2.8.7 AND
+ ${LLVM_BUILD_RUNTIME} AND
IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/compiler-rt AND
EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/compiler-rt/CMakeLists.txt)
add_subdirectory(compiler-rt)
More information about the llvm-commits
mailing list