[CMake] How to set gcc option "-Wl,-rpath-link," in CMake?make

Chaos Zhang zcsd2012 at gmail.com
Mon Jun 6 03:37:42 EDT 2016


Hi, all,

i am trying to converting an existed make project into CMake project, and
there are some gcc link options i should convert. Not long ago, Mr. Atkins
told me 'RPATHs are automatically added by CMake to executables so they can
use libraries from the build tree.'. Now i don't know weather
"-Wl,-rpath-link," automatically added by CMake after search for some time.
Could you please give me some advice?

Best Regards,
Chao



--
View this message in context: http://cmake.3232098.n2.nabble.com/How-to-set-gcc-option-Wl-rpath-link-in-CMake-make-tp7593638.html
Sent from the CMake mailing list archive at Nabble.com.


More information about the CMake mailing list