Skip to content

Truly independent web browser

Meta: Warn about padded bit-fields with Apple Clang as well

Jelle Raaijmakers1ad17cf71ca9
diff --git a/Meta/CMake/compile_options.cmake b/Meta/CMake/compile_options.cmake
index 3ef4ac44fc6..6f7e1549cce 100644
--- a/Meta/CMake/compile_options.cmake
+++ b/Meta/CMake/compile_options.cmake
@@ -109,7 +109,7 @@ add_cxx_only_compile_options(-Wno-user-defined-literals)
add_cxx_compile_options(-Werror)
-if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
+if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_cxx_compile_options(-Wpadded-bitfield)
endif()