diff --git a/lldb/cmake/modules/LLDBFramework.cmake b/lldb/cmake/modules/LLDBFramework.cmake index 22b5c068e694..04f35e1951d2 100644 --- a/lldb/cmake/modules/LLDBFramework.cmake +++ b/lldb/cmake/modules/LLDBFramework.cmake @@ -26,6 +26,12 @@ set_target_properties(liblldb PROPERTIES MACOSX_FRAMEWORK_INFO_PLIST ${LLDB_SOURCE_DIR}/resources/LLDB-Info.plist.in ) +# Defined in AddLLVM.cmake; handles edge cases for multi-config generators +set_output_directory(liblldb + BINARY_DIR ${framework_target_dir} + LIBRARY_DIR ${framework_target_dir} +) + # Affects the layout of the framework bundle (default is macOS layout). if(IOS) set_target_properties(liblldb PROPERTIES