From 99f3519da579b07005141635252238a62e068888 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Sat, 21 Jun 2014 16:59:31 +0200 Subject: [PATCH] Workaround permission problem in ixup_bundle MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without this change, make install and make package would require “sudo” under osx --- cockatrice/CMakeLists.txt | 1 + oracle/CMakeLists.txt | 1 + servatrice/CMakeLists.txt | 1 + 3 files changed, 3 insertions(+) diff --git a/cockatrice/CMakeLists.txt b/cockatrice/CMakeLists.txt index 499836dd..c0cb4768 100644 --- a/cockatrice/CMakeLists.txt +++ b/cockatrice/CMakeLists.txt @@ -206,6 +206,7 @@ Plugins = Plugins\") install(CODE " file(GLOB_RECURSE QTPLUGINS \"${plugin_dest_dir}/*.dylib\") + set(BU_CHMOD_BUNDLE_ITEMS ON) include(BundleUtilities) fixup_bundle(\"\${CMAKE_INSTALL_PREFIX}/cockatrice.app\" \"\${QTPLUGINS}\" \"${QT_LIBRARY_DIR}\") " COMPONENT Runtime) diff --git a/oracle/CMakeLists.txt b/oracle/CMakeLists.txt index 2eada38c..d9b5df75 100644 --- a/oracle/CMakeLists.txt +++ b/oracle/CMakeLists.txt @@ -71,6 +71,7 @@ Plugins = Plugins\") install(CODE " file(GLOB_RECURSE QTPLUGINS \"${plugin_dest_dir}/*.dylib\") + set(BU_CHMOD_BUNDLE_ITEMS ON) include(BundleUtilities) fixup_bundle(\"\${CMAKE_INSTALL_PREFIX}/oracle.app\" \"\${QTPLUGINS}\" \"${QT_LIBRARY_DIR}\") " COMPONENT Runtime) diff --git a/servatrice/CMakeLists.txt b/servatrice/CMakeLists.txt index 799cecbd..19575ca1 100644 --- a/servatrice/CMakeLists.txt +++ b/servatrice/CMakeLists.txt @@ -78,6 +78,7 @@ Plugins = Plugins\") install(CODE " file(GLOB_RECURSE QTPLUGINS \"${plugin_dest_dir}/*.dylib\") + set(BU_CHMOD_BUNDLE_ITEMS ON) include(BundleUtilities) fixup_bundle(\"\${CMAKE_INSTALL_PREFIX}/servatrice.app\" \"\${QTPLUGINS}\" \"${QT_LIBRARY_DIR}\") " COMPONENT Runtime)