[CMake] Setting XCode Runtime Search Path

Nick Overdijk nick at astrant.net
Tue Feb 19 19:20:47 EST 2013


"Dakon", Don't know his real name, sorry, wrote something for this, you can get it here:

git://anongit.kde.org/scratch/dakon/cmake-cxx11

On 2013-20-02, at 01:17:28 , Alexey Petruchik wrote:

> Hi, I'm doing this by adding:
> set(CMAKE_XCODE_ATTRIBUTE_LD_RUNPATH_SEARCH_PATHS "@executable_path/../Frameworks")
> to my CMakeLists.txt. Not sure that this is the way it should be done but at least it works ;)
> 
> Regards, Alexey
> 
> 
> On Wed, Feb 20, 2013 at 1:13 AM, Darrell Blake <darrell.blake at gmail.com> wrote:
> Is there any way to set the XCode "Runtime Search Path" linker setting? I've got a framework that was built using @rpath so I'm having to set the Runtime Search Path setting to @executable_path/../Frameworks so it can be found. I just wondered if there was any way to set it from CMake.
> 
> Darrell
> 
> 
> --
> 
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
> 
> --
> 
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130220/66a9d1a3/attachment.htm>


More information about the CMake mailing list