Ticket #43736: patch-pack-CMakeLists.txt.diff

File patch-pack-CMakeLists.txt.diff, 924 bytes (added by ryandesign (Ryan Carsten Schmidt), 10 years ago)
  • pack/CMakeLists.txt

    old new  
    6767                endforeach(LANG ${UI_LANG})
    6868       
    6969                # Qt config
    70                 install(CODE "file(WRITE \"\${CMAKE_INSTALL_PREFIX}/${RESOURCES_DIR}/qt.conf\" \"[Paths]\nPlugins = PlugIns\nTranslations = Translations\n\")" COMPONENT Runtime)
     70                install(CODE "file(WRITE \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${RESOURCES_DIR}/qt.conf\" \"[Paths]\nPlugins = PlugIns\nTranslations = Translations\n\")" COMPONENT Runtime)
    7171               
    7272                # Qt plugins
    7373                install(CODE "
    7474                        file(GLOB_RECURSE QTPLUGINS \"\${CMAKE_INSTALL_PREFIX}/${EXE_DIR}/plugins/*${CMAKE_SHARED_LIBRARY_SUFFIX}\")
    7575                include(BundleUtilities)
    76                 fixup_bundle(\"${APPS}\" \"${QTPLUGINS}\" \"${QT_LIBRARY_DIRS}\")" COMPONENT Runtime)
     76                 " COMPONENT Runtime)
    7777        else(APPLE)
    7878                set(CPACK_PACKAGE_NAME "tagainijisho") 
    7979                set(ROOT_DIR share/tagainijisho)