Am Dienstag 11 Dezember 2007 03:24:27 schrieb Charlene Tsai: > on windows and some versions of linux: > > TARGET_LINK_LIBRARIES( my_exe ITKCommon ITKIO libxml2)
I wonder that this worked on linux at all. > on Gentoo linux > > TARGET_LINK_LIBRARIES( my_exe ITKCommon ITKIO xml2) This statement is correct. For gcc it will result on compiler parameters like .. -lITKCommon -lITKIO -lxml2 .. and gcc will search for - libxml2.so* - libxml2.a and IIRC - xml.dll on windows. Did you try TARGET_LINK_LIBRARIES( my_exe ITKCommon ITKIO xml2) on the other linux versions and/or windows? Best, -- Maik _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
