mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-06-26 10:29:57 +00:00
[CMake] Fixing inconsistency caused by copy-pasta.
This will actually fix the PR 24194. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242748 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1cd0962919
commit
5bce8dfa26
|
@ -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…
Reference in New Issue
Block a user