From bce771b46f8b01dd832e597c3c0a481c1cbddd79 Mon Sep 17 00:00:00 2001 From: Martin Brodbeck Date: Tue, 7 Aug 2018 16:14:47 +0200 Subject: [PATCH] more on installer --- CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0eddf82..9848941 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -51,12 +51,19 @@ set(kima2_SHARE kima2.desktop) if (WIN32 AND NOT UNIX) set(CPACK_GENERATOR "NSIS;ZIP") #set(CPACK_CREATE_DESKTOP_LINKS "bin/kima2") + install(FILES "${CMAKE_SOURCE_DIR}/manual/Benutzerhandbuch.pdf" + DESTINATION bin + COMPONENT manualData) + set(CPACK_NSIS_MENU_LINKS "bin\\\\Benutzerhandbuch.pdf" "Handbuch") else(WIN32 AND NOT UNIX) set(CPACK_SOURCE_GENERATOR "TBZ2") set(CPACK_GENERATOR "RPM;DEB") set(CPACK_STRIP_FILES "bin/kima2") set(CPACK_SOURCE_STRIP_FILES "") install(FILES ${kima2_SHARE} DESTINATION share/applications) + install(FILES "${CMAKE_SOURCE_DIR}/manual/Benutzerhandbuch.pdf" + DESTINATION share + COMPONENT manualData) endif (WIN32 AND NOT UNIX) if( MINGW )