From fcb3515d7f09d14cece441280118dd6601f4382f Mon Sep 17 00:00:00 2001 From: Edgar Velazquez-Armendariz Date: Sat, 17 Aug 2013 23:08:02 -0400 Subject: [PATCH] Fixup external dependencies provided by Homebrew/MacPorts. --- data/cmake/packaging/MtsFixupBundle.cmake.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data/cmake/packaging/MtsFixupBundle.cmake.in b/data/cmake/packaging/MtsFixupBundle.cmake.in index 562db91b..c9cd932f 100644 --- a/data/cmake/packaging/MtsFixupBundle.cmake.in +++ b/data/cmake/packaging/MtsFixupBundle.cmake.in @@ -126,5 +126,8 @@ set (libpaths "@MTS_LIBPATHS@") # Use our custom version of fixup_bundle, which supports @rpath on OS X list(APPEND CMAKE_MODULE_PATH "@CMAKE_MODULE_PATH@") include("MtsBundleUtilities") +if(APPLE) + set(BU_CHMOD_BUNDLE_ITEMS ON) +endif() mts_fixup_bundle("${APP}" "${MTSPLUGINS};${QTPLUGINS};${PYBINDINGS}" "${libpaths}")