diff --git a/meta/recipes-devtools/fmt/fmt_11.1.1.bb b/meta/recipes-devtools/fmt/fmt_11.1.1.bb index a99a377ad4a..19888366a4e 100644 --- a/meta/recipes-devtools/fmt/fmt_11.1.1.bb +++ b/meta/recipes-devtools/fmt/fmt_11.1.1.bb @@ -13,4 +13,9 @@ inherit cmake EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON" +# The tests fail to compile on ubuntu 20.04 in fmt 11.1, so disable building +# them as we don't run them. +# https://github.com/fmtlib/fmt/issues/4313 +EXTRA_OECMAKE += "-DFMT_TEST=OFF" + BBCLASSEXTEND = "native nativesdk"