Re: [CMake] Dynamic library RPATH on OSX

2013-02-13 Thread Steve Skutnik
After some more attempts, I discovered the issue which was somewhat unclear to me before. CMake has the option CMAKE_INSTALL_NAME_DIR which specifies the parameter for the install_name_tool in OSX. I was attempting to use this with "Module B", however it turns out this is incorrect. Instead, the u

[CMake] Dynamic library RPATH on OSX

2013-02-13 Thread Steve Skutnik
I'm having an issue with the RPATH not showing up for one of my shared libraries on OSX. Basically, I end up with a "bare" rpath to one of my shared libraries (i.e., no path prefix) when I check my binary using otool - L Specifically, I have a project with a structure that looks like this project