From 68187f172e549c0170277868c614a251cfd0793a Mon Sep 17 00:00:00 2001 From: matlabbe Date: Sat, 25 Apr 2015 17:50:24 -0400 Subject: [PATCH] fixed packaging error on Mac OS X --- app/src/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/CMakeLists.txt b/app/src/CMakeLists.txt index a95aa79e..e921a753 100644 --- a/app/src/CMakeLists.txt +++ b/app/src/CMakeLists.txt @@ -166,7 +166,8 @@ IF((APPLE AND BUILD_AS_BUNDLE) OR WIN32) # over. # 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}\") + 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)