From ca277f3e78117941b0ed3b6373bccce6d9680eab Mon Sep 17 00:00:00 2001 From: Peter Marko Date: Fri, 28 Oct 2022 12:59:10 +0200 Subject: [PATCH] cpputest: add possibility to build extensions Signed-off-by: Peter Marko Signed-off-by: Khem Raj (cherry picked from commit 8c0402f7c47188cef1d6afc68c0427124940ea57) Signed-off-by: Gyorgy Sarvari --- meta-oe/recipes-test/cpputest/cpputest_4.0.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-test/cpputest/cpputest_4.0.bb b/meta-oe/recipes-test/cpputest/cpputest_4.0.bb index 921143a74c..2dc53ea8df 100644 --- a/meta-oe/recipes-test/cpputest/cpputest_4.0.bb +++ b/meta-oe/recipes-test/cpputest/cpputest_4.0.bb @@ -15,7 +15,9 @@ inherit cmake EXTRA_OECMAKE = "-DLONGLONG=ON \ -DC++11=ON \ -DTESTS=OFF \ - -DEXTENSIONS=OFF \ " FILES:${PN}-dev += "${libdir}/CppUTest/cmake/*" + +PACKAGECONFIG ??= "" +PACKAGECONFIG[extensions] = "-DEXTENSIONS=ON,-DEXTENSIONS=OFF"