Skip to contentSkip to conversation

libyui: Adopt to new cmake option to disable Werror

PATCH New Khem Raj 1 participant 1 message Mar 3, 2021

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 libyui: Adopt to new cmake option to disable Werror

Add -DCMAKE_BUILD_TYPE=RELWITHDEBINFO so we have balance between build speed and debug info

---
 meta-oe/recipes-graphics/libyui/libyui_4.0.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-graphics/libyui/libyui_4.0.0.bb +1 -1
index bdbbb031a3..bba17962e2 100644
@@ -18,7 +18,7 @@ inherit cmake gettext pkgconfig
 
 DEPENDS += "boost"
 
-EXTRA_OECMAKE += "-DENABLE_WERROR=OFF"
+EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=RELWITHDEBINFO -DWERROR=OFF"
 
 BBCLASSEXTEND = "native nativesdk"
 
Signature · 1 line
2.30.1