[CMake] Linking to a library: libfoo.so vs libfoo.so.1.2
Mathieu Malaterre
mathieu.malaterre at gmail.com
Mon May 19 03:02:41 EDT 2008
Hi there,
I am inspecting a system using cmake, this system has the following:
$ ls -al /lib/libuuid.so.1*
lrwxrwxrwx 1 root root 14 2008-01-10 17:51 /lib/libuuid.so.1 ->
libuuid.so.1.2
-rw-r--r-- 1 root root 10720 2007-12-06 16:55 /lib/libuuid.so.1.2
the question is: can I link to this library ? If yes, how do I do
that in cmake ?
I was hoping it should be possible, since it's a c lib and the
symbol can be found:
$ nm -D /lib/libuuid.so.1.2 | grep uuid_generate
0000000000001700 T uuid_generate
Thanks,
--
Mathieu
More information about the CMake
mailing list