forked from OSchip/llvm-project
[build] Fix LLVM_ENABLE_RUNTIMES override condition
I forgot to add parentheses in fa44d72b9e
, though I prefer the
expanded form anyway.
This commit is contained in:
parent
c12f046eb9
commit
0423ddfb81
|
@ -466,7 +466,7 @@ else() # if this is included from LLVM's CMake
|
|||
endif()
|
||||
endforeach()
|
||||
|
||||
if(NOT RUNTIMES_${target}_LLVM_ENABLE_RUNTIMES OR RUNTIMES_${name}_LLVM_ENABLE_RUNTIMES)
|
||||
if(NOT RUNTIMES_${name}_LLVM_ENABLE_RUNTIMES AND NOT RUNTIMES_${target}_LLVM_ENABLE_RUNTIMES)
|
||||
string(REPLACE ";" "|" LLVM_ENABLE_RUNTIMES_PASSTHROUGH "${LLVM_ENABLE_RUNTIMES}")
|
||||
list(APPEND ${name}_extra_args -DLLVM_ENABLE_RUNTIMES=${LLVM_ENABLE_RUNTIMES_PASSTHROUGH})
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue