File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33# BundleUtilities has functions to bundle and fixup libraries into an
44# application package, but it's all-or-nothing and is missing some features:
5- #
5+ #
66# - @loader_path
77# - helper functions can't get install_name, just dependencies
88
99# the following cmakecache vars must be set, redefine them
1010# with config-file substitutions in install-run scripts:
11- #
11+ #
1212# CPACK_PACKAGE_VERSION_MAJOR, CPACK_PACKAGE_VERSION_MINOR
1313# CMAKE_INSTALL_PREFIX, CMAKE_VERBOSE_MAKEFILE, CMAKE_BUILD_TYPE
1414# CMAKE_OSX_ARCHITECTURES, OSX_HAVE_LOADERPATH
@@ -118,8 +118,8 @@ FUNCTION (UPDATEQGISPATHS LIBFROM LIBTO)
118118 # libs
119119 IF (${OSX_HAVE_LOADERPATH} )
120120 # bundled frameworks can use short relative path
121- IF (ISLIB} )
122- SET (LIB_CHG_TO "${ATLOADER} /${QGIS_FW_SUBDIR_REV} /${LIBMID} /${LIBPOST} " )
121+ IF (ISLIB)
122+ SET (LIB_CHG_TO "${ATLOADER} /../../../ ${QGIS_FW_SUBDIR_REV} /${LIBMID} /${LIBPOST} " )
123123 ElSE ()
124124 SET (LIB_CHG_TO "${ATLOADER} /../../../${LIBPOST} " )
125125 ENDIF ()
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ IF (NOT EXISTS "${QLIBDIR}/libqwt.dylib")
8484ENDIF ()
8585GET_INSTALL_NAME ("@QWT_LIBRARY@" "libqwt" QWT_CHG )
8686IF (QWT_CHG)
87- INSTALLNAMETOOL_CHANGE ( " ${QWT_CHG} " " ${ATEXECUTABLE} /@QGIS_LIB_SUBDIR@/ libqwt.dylib" " ${QAPPDIR} /@QGIS_APP_NAME@" )
87+ UPDATEQGISPATHS ( ${QWT_CHG} libqwt.dylib )
8888ENDIF (QWT_CHG )
8989
9090# PyQt
You can’t perform that action at this time.
0 commit comments