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.
Asked: 2021-08-18 11:00:00 +0000
Seen: 20 times
Last updated: Nov 15 '21