Hi, everybody. This question could have been already risen but hadn't found any "pretty" solution. The question is: How to set install name for OS X dynamic library to "@exectuable_path/../Frameworks/libX.dylib" or "@rpath/libX.dylib"? My solution is:<div>
<br></div><div>set_target_properties(X PROPERTIES XCODE_ATTRIBUTE_LD_DYLIB_INSTALL_NAME "@executable_path/libX.dylib")</div><div><br></div><div>but I'm still not sure that it is the way to go. In this case project would be built correctly only via generating Xcode project which is probably no very good. Are there any other way to specify install name or it is absolutely normal to use XCODE_ATTRIBUTE_LD_DYLIB_INSTALL_NAME?<br>
<div><br></div><div>Regards, Alexey.</div></div>