Skip to content

Commit 4091610

Browse files
cmake: fix deprecated warnings on Linux
1 parent a5f4f47 commit 4091610

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

linux/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ endif()
4242
function(APPLY_STANDARD_SETTINGS TARGET)
4343
target_compile_features(${TARGET} PUBLIC cxx_std_14)
4444
target_compile_options(${TARGET} PRIVATE -Wall -Werror)
45+
target_compile_options(${TARGET} PRIVATE -Wno-error=deprecated-declarations)
4546
target_compile_options(${TARGET} PRIVATE "$<$<NOT:$<CONFIG:Debug>>:-O3>")
4647
target_compile_definitions(${TARGET} PRIVATE "$<$<NOT:$<CONFIG:Debug>>:NDEBUG>")
4748
endfunction()

0 commit comments

Comments
 (0)