Signed-off-by: Khem Raj <[email protected]>
---
 meta-oe/recipes-support/cpp-netlib/cpp-netlib_git.bb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta-oe/recipes-support/cpp-netlib/cpp-netlib_git.bb 
b/meta-oe/recipes-support/cpp-netlib/cpp-netlib_git.bb
index b2bdb86c0d..bda5177fc4 100644
--- a/meta-oe/recipes-support/cpp-netlib/cpp-netlib_git.bb
+++ b/meta-oe/recipes-support/cpp-netlib/cpp-netlib_git.bb
@@ -23,3 +23,8 @@ inherit cmake pkgconfig
 DEPENDS = "zlib boost openssl"
 
 EXTRA_OECMAKE:append = " -DCPP-NETLIB_BUILD_TESTS=OFF 
-DCPP-NETLIB_BUILD_EXAMPLES=OFF"
+
+do_install:append() {
+    sed -i -e 's|${RECIPE_SYSROOT}||g' 
${D}${libdir}/cmake/cppnetlib/cppnetlibConfig.cmake
+    sed -i -e 's|${RECIPE_SYSROOT}||g' 
${D}${libdir}/cmake/cppnetlib/cppnetlibTargets-noconfig.cmake
+}
-- 
2.42.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#105150): 
https://lists.openembedded.org/g/openembedded-devel/message/105150
Mute This Topic: https://lists.openembedded.org/mt/101605668/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to