more on installer
This commit is contained in:
parent
8dcabb0152
commit
728e90c62d
1 changed files with 1 additions and 3 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue