From 6f8820eb9fcfa20351b1dca141263e57b876a5c0 Mon Sep 17 00:00:00 2001 From: firewave Date: Tue, 12 Nov 2024 14:37:04 +0100 Subject: [PATCH] fixed #13298: fixed missing executable icon on Windows --- gui/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt index 9e1dc3708f6..1c1818c708a 100644 --- a/gui/CMakeLists.txt +++ b/gui/CMakeLists.txt @@ -32,6 +32,9 @@ CheckOptions: list(APPEND cppcheck-gui_SOURCES $) endif() endif() + if (WIN32) + list(APPEND cppcheck-gui_SOURCES cppcheck-gui.rc) + endif() add_executable(cppcheck-gui ${cppcheck-gui-deps} ${cppcheck-gui_SOURCES}) set_target_properties(cppcheck-gui PROPERTIES AUTOMOC ON)