[CMake] Problems CMake linking shared libraries

Hendrik Sattler post at hendrik-sattler.de
Tue Apr 3 13:05:37 EDT 2007


Am Dienstag 03 April 2007 16:16 schrieb Jos Theunissen:
> "esqc.so" is the name lib as on the disk.

As noted in the manpage of ld, -l<arg> _always_ refers to lib<arg>.so
Not having the lib prefix simply does not allow you to use the -l option.

Work-around: symlinks work for such cases.
Or maybe you want to name libs according to the style of the system where they 
are used?
It actually not important what was there, first, it's important how it is 
_now_.

HS


More information about the CMake mailing list