From a774d1f5ce0560348a1792bebfa251d3aac0c6ad Mon Sep 17 00:00:00 2001 From: heinrich5991 Date: Sat, 11 Mar 2023 18:30:27 +0100 Subject: [PATCH] Revert "Pick icon files based on executable name" This reverts commit c801df311c1e13b69e4cc6b81fde4e014fac6f8f. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c39784c1a..e64dadcc8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2342,7 +2342,7 @@ if(CLIENT) if(TARGET_OS STREQUAL "windows") 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) set(CLIENT_MANIFEST "${CMAKE_CURRENT_BINARY_DIR}/client.manifest") else() @@ -2537,7 +2537,7 @@ if(SERVER) ) set(SERVER_SRC ${ENGINE_SERVER} ${GAME_SERVER} ${GAME_GENERATED_SERVER}) if(TARGET_OS STREQUAL "windows") - set(SERVER_ICON "other/icons/${SERVER_EXECUTABLE}.rc") + set(SERVER_ICON "other/icons/DDNet-Server.rc") else() set(SERVER_ICON) endif()