File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2
2
3
3
# BundleUtilities has functions to bundle and fixup libraries into an
4
4
# application package, but it's all-or-nothing and is missing some features:
5
- #
5
+ #
6
6
# - @loader_path
7
7
# - helper functions can't get install_name, just dependencies
8
8
9
9
# the following cmakecache vars must be set, redefine them
10
10
# with config-file substitutions in install-run scripts:
11
- #
11
+ #
12
12
# CPACK_PACKAGE_VERSION_MAJOR, CPACK_PACKAGE_VERSION_MINOR
13
13
# CMAKE_INSTALL_PREFIX, CMAKE_VERBOSE_MAKEFILE, CMAKE_BUILD_TYPE
14
14
# CMAKE_OSX_ARCHITECTURES, OSX_HAVE_LOADERPATH
@@ -118,8 +118,8 @@ FUNCTION (UPDATEQGISPATHS LIBFROM LIBTO)
118
118
# libs
119
119
IF (${OSX_HAVE_LOADERPATH} )
120
120
# 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} " )
123
123
ElSE ()
124
124
SET (LIB_CHG_TO "${ATLOADER} /../../../${LIBPOST} " )
125
125
ENDIF ()
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ IF (NOT EXISTS "${QLIBDIR}/libqwt.dylib")
84
84
ENDIF ()
85
85
GET_INSTALL_NAME ("@QWT_LIBRARY@" "libqwt" QWT_CHG )
86
86
IF (QWT_CHG )
87
- INSTALLNAMETOOL_CHANGE ( " ${QWT_CHG} " " ${ATEXECUTABLE} /@QGIS_LIB_SUBDIR@/ libqwt.dylib" " ${QAPPDIR} /@QGIS_APP_NAME@" )
87
+ UPDATEQGISPATHS ( ${QWT_CHG} libqwt.dylib )
88
88
ENDIF (QWT_CHG )
89
89
90
90
# PyQt
You can’t perform that action at this time.
0 commit comments