[CMake] linker doesnt find shared library

2012-01-12 Thread Thorsten Wagner
Hello, i have a library libpnt.so under /usr/local/lib/pnt. I've added a pnt.conf with this path under /etc/ld.so.conf.d/ and execute ldconfig ldconfig -v | grep libpnt.so finds the library: libpnt.so.0 - libpnt.so.0.8.1 In the CMakeList.txt i try to link against the target:

Re: [CMake] linker doesnt find shared library

2012-01-12 Thread Rolf Eike Beer
Thorsten Wagner wrote: Hello, i have a library libpnt.so under /usr/local/lib/pnt. I've added a pnt.conf with this path under /etc/ld.so.conf.d/ and execute ldconfig ldconfig -v | grep libpnt.so finds the library: libpnt.so.0 - libpnt.so.0.8.1 In the CMakeList.txt i try to link