fixed packaging error on Mac OS X

This commit is contained in:
matlabbe
2015-04-25 17:50:24 -04:00
parent f91efd245b
commit 68187f172e

View File

@@ -167,6 +167,7 @@ IF((APPLE AND BUILD_AS_BUNDLE) OR WIN32)
# To find dependencies, cmake use "otool" on Apple and "dumpbin" on Windows (make sure you have one of them).
install(CODE "
file(GLOB_RECURSE QTPLUGINS \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${plugin_dest_dir}/plugins/*${CMAKE_SHARED_LIBRARY_SUFFIX}\")
set(BU_CHMOD_BUNDLE_ITEMS ON)
include(\"BundleUtilities\")
fixup_bundle(\"${APPS}\" \"\${QTPLUGINS}\" \"${DIRS}\")
" COMPONENT runtime)