Skip to content

Commit 01470b6

Browse files
committed
[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.
1 parent 5c63b24 commit 01470b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/cmake/modules/AddLLDB.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ function(add_lldb_library name)
105105
# this may result in the wrong install DESTINATION. The FRAMEWORK property
106106
# must be set earlier.
107107
if(PARAM_FRAMEWORK)
108-
set_target_properties(liblldb PROPERTIES FRAMEWORK ON)
108+
set_target_properties(${name} PROPERTIES FRAMEWORK ON)
109109
endif()
110110

111111
if(PARAM_SHARED)

0 commit comments

Comments
 (0)