Revert "Pick icon files based on executable name"

This reverts commit c801df311c.
This commit is contained in:
heinrich5991 2023-03-11 18:30:27 +01:00
parent e05f88fb7b
commit a774d1f5ce

View file

@ -2342,7 +2342,7 @@ if(CLIENT)
if(TARGET_OS STREQUAL "windows") if(TARGET_OS STREQUAL "windows")
configure_file("other/manifest/client.manifest.in" "client.manifest") configure_file("other/manifest/client.manifest.in" "client.manifest")
set(CLIENT_ICON "other/icons/${CLIENT_EXECUTABLE}.rc") set(CLIENT_ICON "other/icons/DDNet.rc")
if(NOT MINGW) if(NOT MINGW)
set(CLIENT_MANIFEST "${CMAKE_CURRENT_BINARY_DIR}/client.manifest") set(CLIENT_MANIFEST "${CMAKE_CURRENT_BINARY_DIR}/client.manifest")
else() else()
@ -2537,7 +2537,7 @@ if(SERVER)
) )
set(SERVER_SRC ${ENGINE_SERVER} ${GAME_SERVER} ${GAME_GENERATED_SERVER}) set(SERVER_SRC ${ENGINE_SERVER} ${GAME_SERVER} ${GAME_GENERATED_SERVER})
if(TARGET_OS STREQUAL "windows") if(TARGET_OS STREQUAL "windows")
set(SERVER_ICON "other/icons/${SERVER_EXECUTABLE}.rc") set(SERVER_ICON "other/icons/DDNet-Server.rc")
else() else()
set(SERVER_ICON) set(SERVER_ICON)
endif() endif()