Skip to content

Commit c4f1313

Browse files
ignore deprecated
Signed-off-by: Pratik Mankawde <[email protected]>
1 parent f770aac commit c4f1313

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
1818

1919
if(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
2323
elseif(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
2626
elseif(MSVC)
2727
# MSVC-specific fixes
2828
add_compile_options(/wd4068) # Ignore unknown pragmas

0 commit comments

Comments
 (0)