cpputest: remove dev package dependency
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.
Signed-off-by Peter Marko <[email protected]>
--- 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
@@ -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
PATCH v2 2/2 cpputest: add possibility to build extensions
Signed-off-by Peter Marko <[email protected]>
--- 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
@@ -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