I’m wondering if anyone knows the details of rpath linker args. In particular, 
I have two paths in my CMAKE_BUILD_RPATH. On macOS, I end-up with something 
like this:

….  -Wl,rpath=/path/number/one -Wl,rpath=/path/number/two ….

and on linux with the same CMakeLists.txt file, I get:

…. -Wl,rpath=/path/number/one:/path/number/two … 

I can’t tell from man pages if that second form is even allowed or what the 
linker will do with it, but my observation is that the RPATH is indeed set for 
the macOS binary and it is NOT set for the linux binary. 

Thoughts/advice ? Anything else I can try to force the first format to be used 
on linux?

Thanks,
Mike Ellery

-- 

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

Reply via email to