2704: SHARED instead of DYNAMIC (fixes #2703) r=heinrich5991 a=def-



Co-authored-by: def <dennis@felsin9.de>
This commit is contained in:
bors[bot] 2020-09-01 14:15:58 +00:00 committed by GitHub
commit 98115475eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)