--- lldb/source/API/CMakeLists.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) Index: llvm-toolchain-snapshot_10~++20200103094450+3186b18b998/lldb/source/API/CMakeLists.txt =================================================================== --- llvm-toolchain-snapshot_10~++20200103094450+3186b18b998.orig/lldb/source/API/CMakeLists.txt +++ llvm-toolchain-snapshot_10~++20200103094450+3186b18b998/lldb/source/API/CMakeLists.txt @@ -19,7 +19,12 @@ if(LLDB_BUILD_FRAMEWORK) set(option_framework FRAMEWORK) endif() -add_lldb_library(liblldb SHARED ${option_framework} +set(output_name lldb) +if (CMAKE_SYSTEM_NAME MATCHES "Windows") + set(output_name liblldb) +endif() + +add_lldb_library(liblldb SHARED OUTPUT_NAME ${output_name} SONAME SBAddress.cpp SBAttachInfo.cpp SBBlock.cpp @@ -151,7 +156,7 @@ endif() set_target_properties(liblldb PROPERTIES - VERSION ${LLDB_VERSION} + VERSION 1 ) if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows") @@ -176,11 +181,6 @@ if ( CMAKE_SYSTEM_NAME MATCHES "Windows" if (MSVC AND LLDB_ENABLE_PYTHON) target_link_libraries(liblldb PRIVATE ${PYTHON_LIBRARIES}) endif() -else() - set_target_properties(liblldb - PROPERTIES - OUTPUT_NAME lldb - ) endif() if (NOT LLDB_BUILT_STANDALONE)