link icon for windows
This commit is contained in:
parent
0a1d946397
commit
a3d95101b3
3 changed files with 3 additions and 2 deletions
|
@ -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_DESCRIPTION_SUMMARY "Ein kleines Kassenprogramm für Kindersachenmärkte")
|
||||||
set(CPACK_PACKAGE_ICON "${CMAKE_SOURCE_DIR}/misc\\\\kima2.bmp")
|
set(CPACK_PACKAGE_ICON "${CMAKE_SOURCE_DIR}/misc\\\\kima2.bmp")
|
||||||
set(CPACK_NSIS_MUI_ICON "${CMAKE_SOURCE_DIR}/misc\\\\kima2.ico")
|
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_MAJOR ${PROJECT_VERSION_MAJOR})
|
||||||
set(CPACK_PACKAGE_VERSION_MINOR ${PROJECT_VERSION_MINOR})
|
set(CPACK_PACKAGE_VERSION_MINOR ${PROJECT_VERSION_MINOR})
|
||||||
set(CPACK_PACKAGE_VERSION_PATCH ${PROJECT_VERSION_PATCH})
|
set(CPACK_PACKAGE_VERSION_PATCH ${PROJECT_VERSION_PATCH})
|
||||||
|
|
|
@ -30,7 +30,7 @@ set(GUI_SOURCES
|
||||||
../../kima2.qrc
|
../../kima2.qrc
|
||||||
)
|
)
|
||||||
|
|
||||||
add_executable(kima2 ${GUI_SOURCES})
|
add_executable(kima2 ${GUI_SOURCES} kima2.rc)
|
||||||
target_include_directories(kima2 PRIVATE ${PROJECT_BINARY_DIR})
|
target_include_directories(kima2 PRIVATE ${PROJECT_BINARY_DIR})
|
||||||
target_link_libraries(kima2 core printer Qt5::Widgets Qt5::PrintSupport stdc++fs)
|
target_link_libraries(kima2 core printer Qt5::Widgets Qt5::PrintSupport stdc++fs)
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
|
|
1
src/gui/kima2.rc
Normal file
1
src/gui/kima2.rc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
IDI_ICON1 ICON DISCARDABLE "../../misc/kima2.ico"
|
Loading…
Reference in a new issue