1 | initial version |
To add libxml++ library to cmake, follow these steps:
find_package(libxml++ REQUIRED)
include_directories(${libxml++_INCLUDE_DIRS})
link_directories(${libxml++_LIBRARY_DIRS})
target_link_libraries(your-target-name ${libxml++_LIBRARIES})
Replace "your-target-name" with the name of your executable or library target.