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 Bielik skrev den 2015-03-20 11:15:
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
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake