diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt index 88bf225c58b..a7961148403 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)