llvm.org GIT mirror llvm / 0ed9b8e
[CMake] Introduce LLVM_EXTERNAL_COMPILER_RT_SOURCE_DIR. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166552 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 8 years ago
1 changed file(s) with 2 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
1313 # Also add in the compiler-rt tree if present and we have a sufficiently
1414 # recent version of CMake.
1515 if(${CMAKE_VERSION} VERSION_GREATER 2.8.7 AND
16 ${LLVM_BUILD_RUNTIME} AND
17 IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/compiler-rt AND
18 EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/compiler-rt/CMakeLists.txt)
19 add_subdirectory(compiler-rt)
16 ${LLVM_BUILD_RUNTIME})
17 add_llvm_external_project(compiler-rt)
2018 endif()