Skip to contentSkip to conversation

cpputest: remove dev package dependency

PATCH New Peter Marko 1 participant 2 messages Oct 28, 2022

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 cpputest: remove dev package dependency

The main package is empty so it was not possible to install
dev package to sdk as it depends on main package.

---
 meta-oe/recipes-test/cpputest/cpputest_4.0.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-test/cpputest/cpputest_4.0.bb +2 -0
index 921143a74..d923e7ac9 100644
@@ -18,4 +18,6 @@ EXTRA_OECMAKE = "-DLONGLONG=ON \
                  -DEXTENSIONS=OFF \
                  "
 
+DEV_PKG_DEPENDENCY = ""
+
 FILES:${PN}-dev += "${libdir}/CppUTest/cmake/*"
Signature · 1 line
2.30.2
#1 lore raw

PATCH v2 2/2 cpputest: add possibility to build extensions

---
 meta-oe/recipes-test/cpputest/cpputest_4.0.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-test/cpputest/cpputest_4.0.bb +3 -1
index d923e7ac9..5536cf07b 100644
@@ -15,9 +15,11 @@ inherit cmake
 EXTRA_OECMAKE = "-DLONGLONG=ON \
                  -DC++11=ON \
                  -DTESTS=OFF \
-                 -DEXTENSIONS=OFF \
                  "
 
 DEV_PKG_DEPENDENCY = ""
 
 FILES:${PN}-dev += "${libdir}/CppUTest/cmake/*"
+
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[extensions] = "-DEXTENSIONS=ON,-DEXTENSIONS=OFF"
Signature · 1 line
2.30.2