File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,11 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
1818
1919if (CMAKE_CXX_COMPILER_ID MATCHES "GNU" )
2020 # GCC-specific fixes
21- add_compile_options (-Wno-unknown-pragmas -Wno-subobject-linkage)
21+ add_compile_options (-Wno-unknown-pragmas -Wno-subobject-linkage -Wno-error=deprecated-declarations )
2222 # -Wno-subobject-linkage can be removed when we upgrade GCC version to at least 13.3
2323elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
2424 # Clang-specific fixes
25- add_compile_options (-Wno-unknown-warning-option) # Ignore unknown warning options
25+ add_compile_options (-Wno-unknown-warning-option -Wno-error=deprecated-declarations ) # Ignore unknown warning options
2626elseif (MSVC )
2727 # MSVC-specific fixes
2828 add_compile_options (/wd4068) # Ignore unknown pragmas
You can’t perform that action at this time.
0 commit comments