CMake Fetch example with Poco and LibXML2.
Find a file
2025-03-10 15:27:24 +01:00
fetchtest Fixed Windows not linking properly to LibXML2. 2025-03-10 15:27:24 +01:00
.gitignore Initial commit. 2025-03-10 12:12:52 +01:00
CMakeLists.txt Fixed Windows not linking properly to LibXML2. 2025-03-10 15:27:24 +01:00
dependencies.cmake Fixing Poco not building as static when first cmake configuration called. 2025-03-10 15:26:57 +01:00
LICENSE Added readme and license. 2025-03-10 13:26:29 +01:00
README.md Fixed Windows not linking properly to LibXML2. 2025-03-10 15:27:24 +01:00

CMake Fetch example

Static Badge Static Badge Static Badge

Here is an example of the cmake fetch if the find_package() cannot be used. Fetch is useful when building custom version of popular libraries.

Building

In the root directory launch the following:

mkdir build && cd build
cmake ..
cmake --build .