Mercurial > clickerconvert
changeset 94:5d78e980a433
Add hack for replacements.ini install and use new template
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Thu, 06 Oct 2016 17:20:10 +0200 |
parents | ef35abf8be35 |
children | ca2a6301f68f |
files | src/CMakeLists.txt |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/CMakeLists.txt Thu Oct 06 17:19:35 2016 +0200 +++ b/src/CMakeLists.txt Thu Oct 06 17:20:10 2016 +0200 @@ -84,6 +84,7 @@ SET(APPLICATION_SRC ${APPLICATION_SRC} ${CMAKE_CURRENT_SOURCE_DIR}/icons/icon.icns) SET(MACOS_INFO_STRING "Tool to convert EduApp questionaires.") + SET(MACOS__BUNDLE_INFO_PLIST ${CMAKE_SOURCE_DIR}/cmake/MacOSXBundleInfo.plist.in) SET(MACOSX_BUNDLE_NAME "EduExportConvert") SET(MACOSX_BUNDLE_GUI_IDENTIFIER "EduExportConvert") SET(MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION}) @@ -124,9 +125,10 @@ endif(WIN32) install(TARGETS ${PROJECT_NAME} DESTINATION bin BUNDLE DESTINATION .) -install(FILES replacements.ini DESTINATION share/apps/${PROJECT_NAME} COMPONENT config) +install(FILES replacements.ini DESTINATION share/apps/${PROJECT_NAME}) if(APPLE) + file(COPY replacements.ini DESTINATION "${PROJECT_NAME}.app/Contents/MacOS/" ) install(CODE " include(BundleUtilities) fixup_bundle(\"${APPS}\" \"\${QTPLUGINS}\" \"${DIRS}\")