[CMake] long library names

Alexander Neundorf a.neundorf-work at gmx.net
Wed Aug 15 16:06:23 EDT 2007


On Wednesday 15 August 2007 14:42, James Bigler wrote:
> When I run FIND_LIBRARY(MYLIB mylib), the value of MYLIB is the full
> path to mylib (i.e. /home/bigler/lib/libmylib.a).  When I go to link
> the executable it breaks it up into -L/home/bigler/lib -lmylib.
>
> Is there a way to get CMake to put /home/bigler/lib/libmylib.a on the
> link line instead of breaking it up into path/short name?

No. Why do you need this, it shouldn't be necessary ?

Bye
Alex


More information about the CMake mailing list