Skip to content

Commit 2e43818

Browse files
committed
separate build types for libclipboard
1 parent 6a12885 commit 2e43818

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmake/Deps.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ if(PLATFORM_DESKTOP)
5454
set_target_properties(${LCB_TARGET} PROPERTIES
5555
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}"
5656
)
57+
if(BUILD_SHARED_LIBS AND DEFINED BIN_SUFFIX)
58+
set_target_properties(${LCB_TARGET} PROPERTIES OUTPUT_NAME "${LCB_TARGET}-${BIN_SUFFIX}")
59+
endif()
5760

5861
if(CMAKE_GENERATOR MATCHES "Visual Studio" OR CMAKE_GENERATOR MATCHES "Xcode")
5962
foreach(CONFIG ${CMAKE_CONFIGURATION_TYPES})

0 commit comments

Comments
 (0)