[CMake] linking with .so w/ non-standard names

Bill Hoffman bill.hoffman at kitware.com
Fri Aug 14 16:51:33 EDT 2009


Kenneth Chang wrote:
> I did, then cmake broke the .so down into its component paths and 
> library name, and used -L<path> -l<libname>, which caused the linker to 
> look for <path>/lib<libname>.so
> 

It should not do that in 2.6.4, it should use the full path....  Do you 
have any policy warnings, or do you have the cmake minimum version set 
to something very old?

-Bill


More information about the CMake mailing list