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.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2021-08-18 11:00:00 +0000
Seen: 19 times
Last updated: Nov 15 '21
Using CMake, what is the process to include a pre-existing static library in a project?
How can I obtain compilation information per transaction unit using cmake?
How can I include a font in my Xcode project through CMake?
What is the meaning of the Cmake error stating that Wayland (WAYLAND_CLIENT_INCLUDE_DIR) is missing?
What is the procedure for utilizing the node-rdpjs library?
What's the process of connecting an LLVM pass to an external library?
What is an alternative J2me datamatrix decoder library to Zxing that I can use?