Re: [CMake] Use CMAKE_MACOSX_RPATH to link a library outside build tree

2015-08-24 Thread Clinton Stimpson
On Sunday, August 23, 2015 04:46:17 AM Oleg Zhylin via CMake wrote: Hi All, I still need help with 0015708: Use CMAKE_MACOSX_RPATH to link a library outside build tree - MantisBT. Could you please suggest are there any CMake mechanisms to ensure a library outside build tree on mac is linked

Re: [CMake] Use CMAKE_MACOSX_RPATH to link a library outside build tree

2015-08-24 Thread Oleg Zhylin via CMake
Thanks for your response Clint.  I ended up copying my external library to ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}. Works for my use case better than patching that external library that might get updated by a 3rd party installer.  WBR Oleg Zhylin o...@yahoo.com On Monday, August 24, 2015 7:22

[CMake] Use CMAKE_MACOSX_RPATH to link a library outside build tree

2015-08-22 Thread Oleg Zhylin via CMake
Hi All, I still need help with 0015708: Use CMAKE_MACOSX_RPATH to link a library outside build tree - MantisBT. Could you please suggest are there any CMake mechanisms to ensure a library outside build tree on mac is linked with either @rpath and using hard-coded path on build machine? Either