more on installer
This commit is contained in:
parent
8cd4b58b53
commit
2734e9e995
1 changed files with 4 additions and 1 deletions
|
@ -35,7 +35,7 @@ INCLUDE(InstallRequiredSystemLibraries)
|
|||
|
||||
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.png")
|
||||
set(CPACK_PACKAGE_ICON "${CMAKE_SOURCE_DIR}/misc\\\\kima2.png")
|
||||
set(CPACK_PACKAGE_VERSION_MAJOR ${PROJECT_VERSION_MAJOR})
|
||||
set(CPACK_PACKAGE_VERSION_MINOR ${PROJECT_VERSION_MINOR})
|
||||
set(CPACK_PACKAGE_VERSION_PATCH ${PROJECT_VERSION_PATCH})
|
||||
|
@ -46,6 +46,9 @@ set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE")
|
|||
|
||||
if (WIN32 AND NOT UNIX)
|
||||
set(CPACK_GENERATOR "NSIS;ZIP")
|
||||
if( CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS )
|
||||
install( PROGRAMS ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS} DESTINATION bin COMPONENT System )
|
||||
endif( CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS )
|
||||
else(WIN32 AND NOT UNIX)
|
||||
set(CPACK_SOURCE_GENERATOR "TBZ2")
|
||||
set(CPACK_GENERATOR "RPM;DEB")
|
||||
|
|
Loading…
Reference in a new issue