aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/poco/poco/0002-fix-build-Install-cmake-files-with-resolved-ENABLE_J.patch
blob: 427cb9723ae456e7ae593214e04ef301b30ebf23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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