[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [Soprano] a7bd099: fix install_name RPATH stuff on OSX
From:       Benjamin Reed <ranger () befunk ! com>
Date:       2010-10-26 12:00:39
Message-ID: 20101026120039.7F1DDA6128 () git ! kde ! org
[Download RAW message or body]

commit a7bd09982112bc57058f311661678d8f4a2a9cfa
branch 2.1
Author: Benjamin Reed <ranger@befunk.com>
Date:   Tue May 20 15:17:15 2008 +0000

    fix install_name RPATH stuff on OSX
    
    svn path=/trunk/kdesupport/soprano/; revision=810378

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 44e1930..0a0032a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -37,6 +37,9 @@ set (LIB_DESTINATION "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}" CACHE STRING "Li
 set(INCLUDE_INSTALL_DIR      "${CMAKE_INSTALL_PREFIX}/include/"
 CACHE PATH "The subdirectory to the header prefix" FORCE)
 
+IF(APPLE)
+	set(CMAKE_INSTALL_NAME_DIR ${LIB_DESTINATION})
+ENDIF(APPLE)
 
 
 if(CMAKE_COMPILER_IS_GNUCXX AND NOT WIN32 )
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic