llvm.org GIT mirror llvm / 5c4e836
Print a warning message if compiler-rt can't be built because of old CMake version to make this requirement more visible to users git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176481 91177308-0d34-0410-b5e6-96231b3b80d8 Alexey Samsonov 7 years ago
1 changed file(s) with 6 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
1212
1313 # Also add in the compiler-rt tree if present and we have a sufficiently
1414 # recent version of CMake.
15 if(${CMAKE_VERSION} VERSION_GREATER 2.8.7 AND
16 ${LLVM_BUILD_RUNTIME})
17 add_llvm_external_project(compiler-rt)
15 if(${LLVM_BUILD_RUNTIME})
16 if(${CMAKE_VERSION} VERSION_GREATER 2.8.7)
17 add_llvm_external_project(compiler-rt)
18 else()
19 message(WARNING "Can't build compiler-rt, CMake 2.8.8 required!")
20 endif()
1821 endif()