[CMake] padding link arguments to the linker

Brad King brad.king at kitware.com
Wed Feb 8 19:00:40 EST 2006


Mike Jackson wrote:
> The -install_name option is _already_ being specified by cmake  
> somewhere so when I tried your suggestion, I get an error during link  
> phase that the -install_name option is being specified twice.
> 
> Is there a master config file somewhere for cmake that I can just  edit? 
> How else would cmake know to put in this option?

CMake uses the install_name to approximate UNIX rpaths in the build 
tree.  You will want to set VTK_USE_RPATH to OFF.  Otherwise there is no 
install option anyway.

-Brad


More information about the CMake mailing list