Skip to content

Commit 81a2382

Browse files
author
telwertowski
committedJan 13, 2007
For Mac, prepend "@executable_path/lib" to library references. This make the app double-clickable and movable.
git-svn-id: http://svn.osgeo.org/qgis/trunk@6426 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent e5b39e8 commit 81a2382

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ ELSE (WIN32)
167167
IF (APPLE)
168168
# for Mac OS X, everything is put inside an application bundle
169169
SET (CMAKE_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX}/qgis.app/Contents/MacOS)
170+
# path for library references
171+
SET (CMAKE_INSTALL_NAME_DIR @executable_path/lib)
170172
ENDIF (APPLE)
171173

172174
# common for MAC and UNIX

0 commit comments

Comments
 (0)
Please sign in to comment.