diff --git a/Source/UnitTest/cmake_core.cmake b/Source/UnitTest/cmake_core.cmake index 2fd20979..eeb780f3 100644 --- a/Source/UnitTest/cmake_core.cmake +++ b/Source/UnitTest/cmake_core.cmake @@ -59,6 +59,7 @@ target_compile_options(${ASTCENC_TEST} $<$>:-Wno-c++98-compat-pedantic> $<$>:-Wno-c++98-c++11-compat-pedantic> $<$>:-Wno-float-equal> + $<$>:-Wno-overriding-option> # Ignore things that the googletest build triggers $<$>:-Wno-unknown-warning-option> diff --git a/Source/cmake_core.cmake b/Source/cmake_core.cmake index 172b8950..8cd352db 100644 --- a/Source/cmake_core.cmake +++ b/Source/cmake_core.cmake @@ -176,6 +176,7 @@ macro(astcenc_set_properties ASTCENC_TARGET_NAME ASTCENC_IS_VENEER) $<${is_gnu_fe}:-Wno-float-equal> $<${is_gnu_fe}:-Wno-deprecated-declarations> $<${is_gnu_fe}:-Wno-atomic-implicit-seq-cst> + $<${is_clang}:-Wno-overriding-option> # Clang 10 also throws up warnings we need to investigate (ours) $<${is_gnu_fe}:-Wno-cast-align>