[CMake] /usr/bin/ld: cannot find -lXt

Mathieu Malaterre mathieu.malaterre at gmail.com
Fri Mar 28 06:14:24 EDT 2008


Hi,

  I am using CMake CVS. And I am getting a :

Linking CXX shared library ../../bin/libvtkgdcm.so
/usr/bin/ld: cannot find -lXt
collect2: ld returned 1 exit status

  I know something changed recently so that -L/usr/X11R6/lib/ is not
passed anymore, but I do not remember what I need to do to revert to
old behavior (I am importing the VTKConfig.cmake from an official
debian package).

Thanks,
-- 
Mathieu


More information about the CMake mailing list