Skip to content

Commit d4777b7

Browse files
committed
Merge branch 'template' into snake
2 parents 0ee70c4 + 2e43818 commit d4777b7

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
@@ -52,6 +52,9 @@ if(PLATFORM_DESKTOP)
5252
set_target_properties(${LCB_TARGET} PROPERTIES
5353
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}"
5454
)
55+
if(BUILD_SHARED_LIBS AND DEFINED BIN_SUFFIX)
56+
set_target_properties(${LCB_TARGET} PROPERTIES OUTPUT_NAME "${LCB_TARGET}-${BIN_SUFFIX}")
57+
endif()
5558

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

0 commit comments

Comments
 (0)