[CMake] Xcode Runpath problem
Robert Bielik
robert.bielik at dirac.se
Fri Mar 20 06:15:01 EDT 2015
Hi,
I have:
SET_TARGET_PROPERTIES(MyTarget PROPERTIES
XCODE_ATTRIBUTE_LD_RUNPATH_SEARCH_PATHS "~/Library/Application
Support/MyTarget/Plugins")
and it comes through nicely when running the Xcode IDE, but when using
cmake build (cmd line), the linker gets this:
-Xlinker -rpath -Xlinker ~/Library/Application -Xlinker -rpath -Xlinker
Support/MyTarget/Plugins
which obviously is totally messed up. I also tried setting the path as
"~/Library/Application\\ Support/MyTarget/Plugins", didn't work either.
Ideas ?
TIA
/Rob
More information about the CMake
mailing list