Fix compile warnings on AppleClang
@@ -296,8 +296,8 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
" $<$<NOT:$<CXX_COMPILER_ID:MSVC>>: -Wno-tautological-type-limit-compare>"
" $<$<NOT:$<CXX_COMPILER_ID:MSVC>>: -Wno-cast-qual>"
" $<$<NOT:$<CXX_COMPILER_ID:MSVC>>: -Wno-reserved-identifier>"
- " $<$<CXX_COMPILER_ID:Clang>: -Wno-missing-prototypes>"
- " $<$<CXX_COMPILER_ID:Clang>: -Wno-missing-field-initializers>"
+ " $<$<CXX_COMPILER_ID:${CLANG_LIKE}>: -Wno-missing-prototypes>"
+ " $<$<CXX_COMPILER_ID:${CLANG_LIKE}>: -Wno-missing-field-initializers>"
" $<$<NOT:$<CXX_COMPILER_ID:MSVC>>: -Wno-suggest-override>"
" $<$<NOT:$<CXX_COMPILER_ID:MSVC>>: -Wno-used-but-marked-unused>"
" $<$<NOT:$<CXX_COMPILER_ID:MSVC>>: -Wno-noexcept-type>"
