forked from OSchip/llvm-project
[lldb] Fix hard-coded argument to set_target_properties
The call to `set_target_properties` should use the target passed to `add_lldb_library` instead of a hard-coded value. Upstream `liblldb` is the only target for which this matters, but downstream we have LLDBRPC.framework which needs this as well.
This commit is contained in:
parent
5c63b24ec8
commit
01470b68f3
|
@ -105,7 +105,7 @@ function(add_lldb_library name)
|
|||
# this may result in the wrong install DESTINATION. The FRAMEWORK property
|
||||
# must be set earlier.
|
||||
if(PARAM_FRAMEWORK)
|
||||
set_target_properties(liblldb PROPERTIES FRAMEWORK ON)
|
||||
set_target_properties(${name} PROPERTIES FRAMEWORK ON)
|
||||
endif()
|
||||
|
||||
if(PARAM_SHARED)
|
||||
|
|
Loading…
Reference in New Issue