diff --git a/CMakeLists.txt b/CMakeLists.txt index 0341544..ecea418 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,7 +36,7 @@ set(CPACK_PACKAGE_EXECUTABLES "kima2" "KIMA2") set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Ein kleines Kassenprogramm für Kindersachenmärkte") set(CPACK_PACKAGE_ICON "${CMAKE_SOURCE_DIR}/misc\\\\kima2.bmp") set(CPACK_NSIS_MUI_ICON "${CMAKE_SOURCE_DIR}/misc\\\\kima2.ico") -set(CPACK_NSIS_INSTALLED_ICON_NAME "bin\\\\kima2.exe") +#set(CPACK_NSIS_INSTALLED_ICON_NAME "bin\\\\kima2.exe") set(CPACK_PACKAGE_VERSION_MAJOR ${PROJECT_VERSION_MAJOR}) set(CPACK_PACKAGE_VERSION_MINOR ${PROJECT_VERSION_MINOR}) set(CPACK_PACKAGE_VERSION_PATCH ${PROJECT_VERSION_PATCH}) diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt index ac28d7d..b66b5c1 100644 --- a/src/gui/CMakeLists.txt +++ b/src/gui/CMakeLists.txt @@ -30,7 +30,7 @@ set(GUI_SOURCES ../../kima2.qrc ) -add_executable(kima2 ${GUI_SOURCES}) +add_executable(kima2 ${GUI_SOURCES} kima2.rc) target_include_directories(kima2 PRIVATE ${PROJECT_BINARY_DIR}) target_link_libraries(kima2 core printer Qt5::Widgets Qt5::PrintSupport stdc++fs) if(WIN32) diff --git a/src/gui/kima2.rc b/src/gui/kima2.rc new file mode 100644 index 0000000..879538d --- /dev/null +++ b/src/gui/kima2.rc @@ -0,0 +1 @@ +IDI_ICON1 ICON DISCARDABLE "../../misc/kima2.ico"