From 81a23826b1d4852d2c8c5a1f8ee74db1e2f7c7d9 Mon Sep 17 00:00:00 2001 From: telwertowski Date: Sat, 13 Jan 2007 08:22:10 +0000 Subject: [PATCH] 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 --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index d372e490c7fa..9ffa561b18a4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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