Commit 5f6f59ef authored by Adam Wolf's avatar Adam Wolf Committed by Wayne Stambaugh
Browse files

Fix OSX bundle library write permission bug.

parent f55a436d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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}\"
            \"\"