Skip to content

Commit 056c319

Browse files
committed
[LLDB] Only set FRAMEWORK when we're actually building a framework.
1 parent 34ca6e1 commit 056c319

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lldb/source/API/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ endif()
1111

1212
if(LLDB_BUILD_FRAMEWORK)
1313
set(option_install_prefix INSTALL_PREFIX ${LLDB_FRAMEWORK_INSTALL_DIR})
14+
set(option_framework FRAMEWORK)
1415
endif()
1516

16-
add_lldb_library(liblldb SHARED FRAMEWORK
17+
add_lldb_library(liblldb SHARED ${option_framework}
1718
SBAddress.cpp
1819
SBAttachInfo.cpp
1920
SBBlock.cpp

0 commit comments

Comments
 (0)