Re: [CMake] Xcode Runpath problem

2015-03-20 Thread Robert Bielik
Ok, I escaped the string as "\"~/Library/Application Support/MyTarget/Plugins\"", and then it comes out OK to the linker. However... it doesn't work. Dylib dependencies are not found, whereas in the Xcode IDE, they are! :( :( :( About to jump from a very high place. Help ? /Rob Robert Bieli

[CMake] Xcode Runpath problem

2015-03-20 Thread Robert Bielik
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 ~/L