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 67 67 endforeach(LANG ${UI_LANG}) 68 68 69 69 # 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) 71 71 72 72 # Qt plugins 73 73 install(CODE " 74 74 file(GLOB_RECURSE QTPLUGINS \"\${CMAKE_INSTALL_PREFIX}/${EXE_DIR}/plugins/*${CMAKE_SHARED_LIBRARY_SUFFIX}\") 75 75 include(BundleUtilities) 76 fixup_bundle(\"${APPS}\" \"${QTPLUGINS}\" \"${QT_LIBRARY_DIRS}\")" COMPONENT Runtime)76 " COMPONENT Runtime) 77 77 else(APPLE) 78 78 set(CPACK_PACKAGE_NAME "tagainijisho") 79 79 set(ROOT_DIR share/tagainijisho)