more on installer

This commit is contained in:
Martin Brodbeck 2018-08-07 13:51:10 +02:00
parent 8dcabb0152
commit 728e90c62d

View file

@ -42,12 +42,10 @@ set(CPACK_PACKAGE_VENDOR "Martin Brodbeck")
set(CPACK_PACKAGE_CONTACT "Martin Brodbeck <info@rustysoft.de>")
set(CPACK_SOURCE_IGNORE_FILES "/.git/;/.vscode")
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE")
set(CPACK_PACKAGE_INSTALL_DIRECTORY "KIMA2")
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")