[CMake] Link question

Alexander Neundorf a.neundorf-work at gmx.net
Mon Nov 12 12:28:50 EST 2007


On Monday 12 November 2007, Xavier Larrode wrote:
> Hi all,
> Is there a way in cmake to link (in linux) to a .so lib wich is not
> prefix by lib.
> So link to a lib without the -lmyLib

To a library which is already installed on the system ?
I think this doesn't work, the linker won't find the file mylib.so if you (or 
cmake) say "-lmylib".

Alex


More information about the CMake mailing list