PocoCppΒΆ
POCO C++ Libraries
hunter_add_package(PocoCpp)
find_package(Poco REQUIRED Foundation CONFIG)
target_link_libraries(... Poco::Foundation)
find_package
command requires at least one of the following
components, else CMake will fail.
Components are as follows:
- Foundation (
Poco::Foundation
) - JSON (
Poco::JSON
) - Net (
Poco::Net
) - Util (
Poco::Util
) - XML (
Poco::XML
) - Zip (
Poco::Zip
)
Note: Components can be enabled or disabled by using following:
hunter_config(PocoCpp VERSION 1.10.0
CMAKE_ARGS
ENABLE_DATA=OFF
....
)
The map between CMAKE_ARGS
and PocoCpp components can be found
here.