From 389b459a998ba94a17bbdcd074a0f0803e6db00e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Hohnst=C3=A4dt?= Date: Sun, 14 Nov 2021 17:36:03 +0100 Subject: [PATCH] Windows: re-add application icon --- img/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/img/CMakeLists.txt b/img/CMakeLists.txt index 8ec55d50..6c28c542 100644 --- a/img/CMakeLists.txt +++ b/img/CMakeLists.txt @@ -34,6 +34,9 @@ if(APPLE) set(CPACK_DMG_BACKGROUND_IMAGE "${S}/bigcert.png") set(CPACK_BUNDLE_ICON ${ICONS}) +elseif(WIN32) + ENABLE_LANGUAGE(RC) + target_sources(${CMAKE_PROJECT_NAME} PRIVATE ${S}/w32res.rc) endif() if (UNIX AND NOT APPLE)