[CMake] Runpath issues on OSX 10.6

Quanah Gibson-Mount quanah at zimbra.com
Wed Jun 29 15:14:45 EDT 2011


--On Wednesday, June 29, 2011 8:49 PM +0200 Michael Wild 
<themiwi at gmail.com> wrote:

> That's because on OS X you have to use the INSTALL_NAME_DIR property (or
> alternatively, the CMAKE_INSTALL_NAME_DIR variable).

I put:

IF(APPLE)
  SET(INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib")
ENDIF()

in CMakeLists.txt, and the result is the same.  I tried 
CMAKE_INSTALL_NAME_DIR as well, same result.  So this does not appear to 
resolve the issue. :/

--Quanah

--

Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration


More information about the CMake mailing list