poco/Util/cmake/PocoUtilConfig.cmake
Alexander B 6c9078d673
fix issue #3815 (#3932)
Poco can be built with ENABLE_UTIL=ON and ENABLE_XML=OFF, but use of Poco::Util requires Poco::XML
2023-01-27 05:25:31 -06:00

10 lines
225 B
CMake

include(CMakeFindDependencyMacro)
find_dependency(PocoFoundation)
if(ENABLE_XML)
find_dependency(PocoXML)
endif()
if(ENABLE_JSON)
find_dependency(PocoJSON)
endif()
include("${CMAKE_CURRENT_LIST_DIR}/PocoUtilTargets.cmake")