mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
[CMake] Fixing inconsistency caused by copy-pasta.
This will actually fix the PR 24194. llvm-svn: 242748
This commit is contained in:
parent
c29f69e247
commit
f446b9894e
@ -694,8 +694,8 @@ macro(add_llvm_external_project name)
|
||||
set(add_llvm_external_dir ${name})
|
||||
endif()
|
||||
canonicalize_tool_name(${name} nameUPPER)
|
||||
if(NOT DEFINED LLVM_TOOL_${projectName}_BUILD)
|
||||
option(LLVM_TOOL_${name}_BUILD
|
||||
if(NOT DEFINED LLVM_TOOL_${nameUPPER}_BUILD)
|
||||
option(LLVM_TOOL_${nameUPPER}_BUILD
|
||||
"Whether to build ${name} as part of LLVM" On)
|
||||
endif()
|
||||
if (LLVM_TOOL_${nameUPPER}_BUILD)
|
||||
|
Loading…
x
Reference in New Issue
Block a user