diff --git a/classes/cmake-lib.bbclass b/classes/cmake-lib.bbclass index 9c507bb3..9cc05682 100644 --- a/classes/cmake-lib.bbclass +++ b/classes/cmake-lib.bbclass @@ -70,7 +70,7 @@ def get_align_flags(d): # global helper to check CMAKE_ALIGN_SYSROOT array contains 'ignore' def get_flags_ignore(flags): - if flags and flags.values().count('ignore') > 0: + if flags and list(flags.values()).count('ignore') > 0: return True return False