diff options
| author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-11-12 15:42:07 -0800 |
|---|---|---|
| committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-11-12 15:42:07 -0800 |
| commit | 056c3197694881379cb75a3cb1bd6a511d044714 (patch) | |
| tree | 4dfb36be424f69253f6b8f8504ab5a0b86ba76ca /lldb/source/API | |
| parent | 34ca6e1fbef54465d623ffc8d55e824054913509 (diff) | |
| download | bcm5719-llvm-056c3197694881379cb75a3cb1bd6a511d044714.tar.gz bcm5719-llvm-056c3197694881379cb75a3cb1bd6a511d044714.zip | |
[LLDB] Only set FRAMEWORK when we're actually building a framework.
Diffstat (limited to 'lldb/source/API')
| -rw-r--r-- | lldb/source/API/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/API/CMakeLists.txt b/lldb/source/API/CMakeLists.txt index 488dae3cae3..934bbf2ec1b 100644 --- a/lldb/source/API/CMakeLists.txt +++ b/lldb/source/API/CMakeLists.txt @@ -11,9 +11,10 @@ endif() if(LLDB_BUILD_FRAMEWORK) set(option_install_prefix INSTALL_PREFIX ${LLDB_FRAMEWORK_INSTALL_DIR}) + set(option_framework FRAMEWORK) endif() -add_lldb_library(liblldb SHARED FRAMEWORK +add_lldb_library(liblldb SHARED ${option_framework} SBAddress.cpp SBAttachInfo.cpp SBBlock.cpp |

