diff --git a/Util/cmake/PocoUtilConfig.cmake b/Util/cmake/PocoUtilConfig.cmake index 90c1eab1c..8186435e1 100644 --- a/Util/cmake/PocoUtilConfig.cmake +++ b/Util/cmake/PocoUtilConfig.cmake @@ -1,9 +1,9 @@ include(CMakeFindDependencyMacro) find_dependency(PocoFoundation) -if(ENABLE_XML) +if(@ENABLE_XML@) find_dependency(PocoXML) endif() -if(ENABLE_JSON) +if(@ENABLE_JSON@) find_dependency(PocoJSON) endif() include("${CMAKE_CURRENT_LIST_DIR}/PocoUtilTargets.cmake")