Hi,

Could some please show me the proper way to handle libxml2 on Gentoo
linux. In my CMakeLists.txt, if I include the following line it works
on windows and some versions of linux:

  TARGET_LINK_LIBRARIES( my_exe ITKCommon ITKIO libxml2)

However, when trying to compile on Gentoo linux (using gcc 4.1.2) it
complains about not being able to find libxml2.so for linking, unless
I change it to:

TARGET_LINK_LIBRARIES( my_exe ITKCommon ITKIO xml2)

Any advice is appreciated.

Charlene
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to