mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Merge #2137
2137: Rename antibot -> ddnet-antibot and install it on cmake r=heinrich5991 a=Ryozuki Fixes #2134 Co-authored-by: Ryozuki <ryo@ryozuki.xyz>
This commit is contained in:
commit
ffc1078783
|
@ -1132,7 +1132,7 @@ endif()
|
|||
|
||||
# Antibot
|
||||
if(ANTIBOT)
|
||||
set(TARGET_ANTIBOT antibot)
|
||||
set(TARGET_ANTIBOT ddnet-antibot)
|
||||
add_library(${TARGET_ANTIBOT} SHARED ${ANTIBOT_SRC})
|
||||
list(APPEND TARGETS_OWN ${TARGET_ANTIBOT})
|
||||
endif()
|
||||
|
@ -1481,6 +1481,9 @@ if(NOT DEV)
|
|||
install(DIRECTORY data DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/ddnet COMPONENT data)
|
||||
install(TARGETS ${TARGET_CLIENT} DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT client)
|
||||
install(TARGETS ${TARGET_SERVER} DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT server)
|
||||
if(ANTIBOT)
|
||||
install(TARGETS ${TARGET_ANTIBOT} DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT server)
|
||||
endif()
|
||||
install(TARGETS ${TARGETS_TOOLS} DESTINATION ${CMAKE_INSTALL_LIBDIR}/ddnet COMPONENT tools)
|
||||
install(FILES other/ddnet.desktop DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications COMPONENT client)
|
||||
install(FILES other/ddnet.appdata.xml DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/metainfo COMPONENT client)
|
||||
|
|
Loading…
Reference in a new issue