mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Merge #2704
2704: SHARED instead of DYNAMIC (fixes #2703) r=heinrich5991 a=def- Co-authored-by: def <dennis@felsin9.de>
This commit is contained in:
commit
98115475eb
|
@ -1821,7 +1821,7 @@ if(CLIENT)
|
|||
${PLATFORM_CLIENT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
if(STEAMAPI_KIND STREQUAL DYNAMIC)
|
||||
if(STEAMAPI_KIND STREQUAL SHARED)
|
||||
set_own_rpath(${TARGET_CLIENT})
|
||||
endif()
|
||||
|
||||
|
@ -2278,7 +2278,7 @@ set(CPACK_TARGETS
|
|||
map_diff
|
||||
map_extract
|
||||
)
|
||||
if(STEAMAPI_KIND STREQUAL DYNAMIC)
|
||||
if(STEAMAPI_KIND STREQUAL SHARED)
|
||||
list(APPEND CPACK_TARGETS ${TARGET_STEAMAPI})
|
||||
endif()
|
||||
set(CPACK_DIRS data)
|
||||
|
@ -2296,7 +2296,7 @@ if(NOT DEV)
|
|||
include(GNUInstallDirs)
|
||||
install(DIRECTORY data DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/ddnet COMPONENT data)
|
||||
install(TARGETS ${TARGET_CLIENT} DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT client)
|
||||
if(STEAMAPI_KIND STREQUAL DYNAMIC)
|
||||
if(STEAMAPI_KIND STREQUAL SHARED)
|
||||
install(TARGETS ${TARGET_STEAMAPI} DESTINATION ${CMAKE_INSTALL_LIBDIR}/ddnet COMPONENT client)
|
||||
endif()
|
||||
install(TARGETS ${TARGET_SERVER} DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT server)
|
||||
|
|
Loading…
Reference in a new issue