blob: 427cb9723ae456e7ae593214e04ef301b30ebf23 [file] [log] [blame]
From e54478c936493c0ed87e875f04127bd13642de44 Mon Sep 17 00:00:00 2001
From: tyler92 <tyler92@inbox.ru>
Date: Tue, 21 Nov 2023 05:07:24 +0300
Subject: [PATCH] fix(build): Install cmake files with resolved ENABLE_JSON and
ENABLE_XML (#4227)
Upstream-Status: Backport [https://github.com/pocoproject/poco/pull/4227]
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
---
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 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")
--
2.43.0