[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:
Jonas Devlieghere 2022-10-06 11:01:49 -07:00
parent 5c63b24ec8
commit 01470b68f3
No known key found for this signature in database
GPG Key ID: 49CC0BD90FDEED4D
1 changed files with 1 additions and 1 deletions

View File

@ -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)