[CMake] linking with .so w/ non-standard names
Kenneth Chang
kchang at athenacr.com
Fri Aug 14 16:25:02 EDT 2009
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
-Kenny
Bill Hoffman wrote:
> Kenneth Chang wrote:
>> Just downloaded 2.6.4, same behavior.
>>
>> Do I have to mark the .so extension so it's recognized as a linkable
>> item?
>>
>
> Why not use target_link_libraries with a full path to the .so?
>
> -Bill
More information about the CMake
mailing list