Skip to content

Commit

Permalink
For Mac, prepend "@executable_path/lib" to library references. This m…
Browse files Browse the repository at this point in the history
…ake the app double-clickable and movable.

git-svn-id: http://svn.osgeo.org/qgis/trunk@6426 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
telwertowski committed Jan 13, 2007
1 parent e5b39e8 commit 81a2382
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Expand Up @@ -167,6 +167,8 @@ ELSE (WIN32)
IF (APPLE)
# for Mac OS X, everything is put inside an application bundle
SET (CMAKE_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX}/qgis.app/Contents/MacOS)
# path for library references
SET (CMAKE_INSTALL_NAME_DIR @executable_path/lib)
ENDIF (APPLE)

# common for MAC and UNIX
Expand Down

0 comments on commit 81a2382

Please sign in to comment.