c00635090c15e3dd4e8c6a9e82377ef5c64d0348
[AGL/meta-agl-demo.git] / recipes-connectivity / kuksa-val / kuksa-val / 0001-Make-Boost-requirements-more-liberal.patch
1 From aefa138ddb6b8af8287b14b748e9943e5d9ddb2e Mon Sep 17 00:00:00 2001
2 From: Scott Murray <scott.murray@konsulko.com>
3 Date: Thu, 6 Oct 2022 11:56:38 -0400
4 Subject: [PATCH 1/3] Make Boost requirements more liberal
5
6 To allow building with Yocto Project 4.0/kirkstone or newer releases,
7 remove the EXACT specifier from the Boost find_package call.
8
9 Upstream-Status: Pending
10
11 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
12 ---
13  kuksa-val-server/boost.cmake | 2 +-
14  1 file changed, 1 insertion(+), 1 deletion(-)
15
16 diff --git a/kuksa-val-server/boost.cmake b/kuksa-val-server/boost.cmake
17 index 54d7b2e..20a1e92 100644
18 --- a/kuksa-val-server/boost.cmake
19 +++ b/kuksa-val-server/boost.cmake
20 @@ -18,7 +18,7 @@ ADD_DEFINITIONS(-DBOOST_LOG_DYN_LINK)
21  
22  # Workaround function to allow cmake call `find_package` twice. Avoide side effects from local variables, which are produced be `find_package`
23  function(findBoost Required)
24 -    find_package(Boost ${BOOST_VER} EXACT ${Required} 
25 +    find_package(Boost ${BOOST_VER} ${Required}
26          COMPONENTS ${BOOST_COMPONENTS}
27          OPTIONAL_COMPONENTS unit_test_framework
28      )
29 -- 
30 2.37.3
31