srira...@vit.in wrote: > Thanks Elke. > Find_package works perfectly. I also used find_library successfully on > my linux at work. > However, find_library fails for OS X > > -- Found LibXml2: /usr/lib/libxml2.dylib (found version "2.9.0") > -- Found include: /usr/include/libxml2
Look, find_package() already found your library. No need to use find_library() for Xml2 again. cmake --help-module FindLibXml2 will tel you which variables to use. Eike --
signature.asc
Description: This is a digitally signed message part.
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake