Fix OSX bundle library write permission bug.

This commit is contained in:
Adam Wolf 2014-11-06 13:36:07 -05:00 committed by Wayne Stambaugh
parent f55a436d58
commit 5f6f59ef2e
1 changed files with 4 additions and 0 deletions

View File

@ -105,6 +105,10 @@ if( APPLE )
# do all the work
include( BundleUtilities )
# If `BU_CHMOD_BUNDLE_ITEMS` is not set, `install_name_tool` will fail to re-write some loader paths due to lack of writable permissions if the build dependencies were installed by brew (or didn't have writable permissions)
set(BU_CHMOD_BUNDLE_ITEMS ON)
fixup_bundle( ${OSX_BUNDLE_INSTALL_BIN_DIR}/kicad
\"\${BUNDLE_FIX_LIBS}\"
\"\"