[CMake] Runpath issues on OSX 10.6

Quanah Gibson-Mount quanah at zimbra.com
Wed Jun 29 16:32:04 EDT 2011


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

>> As noted above, I tried both the variable names.  In fact, I have now
>> even stripped out the "APPLE" if:
>>
>> SET(INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib")
>> SET(CMAKE_INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib")
>>
>> I don't see either of these set in CMakeCache.txt after cmake is run.
>
> You really should read a bit more about CMake... Only variables that are
> being set() using the CACHE option or using functions like option() and
> find_XXX() show up in the cache.

Thanks, good to know.  I finally have it working, they have multiple 
CMakeList.txt files around, and now that I'm updating the correct one, the 
RPATH is correct.

Thanks again for the help!

--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