[llvm-branch-commits] [llvm-branch] r164504 - /llvm/branches/R600/projects/CMakeLists.txt

Tom Stellard thomas.stellard at amd.com
Mon Sep 24 08:53:24 PDT 2012


Author: tstellar
Date: Mon Sep 24 10:51:45 2012
New Revision: 164504

URL: http://llvm.org/viewvc/llvm-project?rev=164504&view=rev
Log:
[CMake] Respect LLVM_BUILD_RUNTIME.

Modified:
    llvm/branches/R600/projects/CMakeLists.txt

Modified: llvm/branches/R600/projects/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/R600/projects/CMakeLists.txt?rev=164504&r1=164503&r2=164504&view=diff
==============================================================================
--- llvm/branches/R600/projects/CMakeLists.txt (original)
+++ llvm/branches/R600/projects/CMakeLists.txt Mon Sep 24 10:51:45 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-branch-commits mailing list