Am Samstag, 31. Januar 2015, 18:39:03 schrieb Sriram Rajan:
> Hi Rolf,
>       Thanks for forwarding this e-mail on my behalf. I figured out the
> solution.. I was using `xml2-config --cflags` for the include files. The
> result was pre-pended with a "-I", follwed by include-path. Using sed to
> remove this "-I" worked.

Why don't use simply use

find_package(LibXml2)
include_directories(${LIBXML2_INCLUDE_DIR})

Greetings,

Eike

Attachment: 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

Reply via email to