cmake: Downgrade deprecation error for GCC compilations

Error has already been downgraded for Clang and AppleClang, not doing
so for GCC was an oversight.
This commit is contained in:
PatTheMav 2024-07-31 20:07:30 +02:00 committed by tt2468
parent 0548c7798a
commit 228afd3405

View File

@ -144,6 +144,7 @@ target_compile_options(
$<$<COMPILE_LANG_AND_ID:CXX,GNU>:-Wno-error=format-overflow>
$<$<COMPILE_LANG_AND_ID:CXX,GNU>:-Wno-error=int-conversion>
$<$<COMPILE_LANG_AND_ID:CXX,GNU>:-Wno-error=comment>
$<$<COMPILE_LANG_AND_ID:CXX,GNU>:-Wno-error=deprecated-declarations>
$<$<COMPILE_LANG_AND_ID:CXX,AppleClang,Clang>:-Wno-error=null-pointer-subtraction>
$<$<COMPILE_LANG_AND_ID:CXX,AppleClang,Clang>:-Wno-error=deprecated-declarations>
$<$<COMPILE_LANG_AND_ID:CXX,AppleClang,Clang>:-Wno-error=implicit-int-conversion>