From 348e2156ad769ecd0d7941b4fd0bcb604569cb60 Mon Sep 17 00:00:00 2001 From: tyler92 Date: Tue, 21 Nov 2023 05:07:24 +0300 Subject: [PATCH] fix(build): Install cmake files with resolved ENABLE_JSON and ENABLE_XML (#4227) --- Util/cmake/PocoUtilConfig.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Util/cmake/PocoUtilConfig.cmake b/Util/cmake/PocoUtilConfig.cmake index 90c1eab1c6..8186435e1d 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")