mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-30 09:01:19 +00:00
[cmake] Try to appease the buildbots.
llvm-svn: 262340
This commit is contained in:
parent
f46c5259bd
commit
e5bee80802
@ -27,7 +27,10 @@ set(COMPILER_RT_SRC_ROOT ${LLVM_MAIN_SRC_DIR}/projects/compiler-rt)
|
||||
# This is the same behavior (try "internal", then check the LLVM_EXTERNAL_...
|
||||
# variable) as in add_llvm_external_project
|
||||
if(NOT EXISTS ${COMPILER_RT_SRC_ROOT})
|
||||
set(COMPILER_RT_SRC_ROOT ${LLVM_EXTERNAL_COMPILER_RT_SOURCE_DIR})
|
||||
# We don't want to set it if LLVM_EXTERNAL_COMPILER_RT_SOURCE_DIR is ""
|
||||
if(${LLVM_EXTERNAL_COMPILER_RT_SOURCE_DIR})
|
||||
set(COMPILER_RT_SRC_ROOT ${LLVM_EXTERNAL_COMPILER_RT_SOURCE_DIR})
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(LLVM_BUILD_EXTERNAL_COMPILER_RT AND EXISTS ${COMPILER_RT_SRC_ROOT}/)
|
||||
|
Loading…
Reference in New Issue
Block a user