forked from OSchip/llvm-project
[LLDB] Only set FRAMEWORK when we're actually building a framework.
This commit is contained in:
parent
34ca6e1fbe
commit
056c319769
|
@ -11,9 +11,10 @@ endif()
|
||||||
|
|
||||||
if(LLDB_BUILD_FRAMEWORK)
|
if(LLDB_BUILD_FRAMEWORK)
|
||||||
set(option_install_prefix INSTALL_PREFIX ${LLDB_FRAMEWORK_INSTALL_DIR})
|
set(option_install_prefix INSTALL_PREFIX ${LLDB_FRAMEWORK_INSTALL_DIR})
|
||||||
|
set(option_framework FRAMEWORK)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_lldb_library(liblldb SHARED FRAMEWORK
|
add_lldb_library(liblldb SHARED ${option_framework}
|
||||||
SBAddress.cpp
|
SBAddress.cpp
|
||||||
SBAttachInfo.cpp
|
SBAttachInfo.cpp
|
||||||
SBBlock.cpp
|
SBBlock.cpp
|
||||||
|
|
Loading…
Reference in New Issue