Skip to content

Commit 9c679b2

Browse files
committed
fix linux build
1 parent 1a98868 commit 9c679b2

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
@@ -46,6 +46,7 @@ endif()
4646
function(APPLY_STANDARD_SETTINGS TARGET)
4747
target_compile_features(${TARGET} PUBLIC cxx_std_14)
4848
target_compile_options(${TARGET} PRIVATE -Wall -Werror)
49+
target_compile_options(${TARGET} PRIVATE -Wno-error=deprecated-declarations)
4950
target_compile_options(${TARGET} PRIVATE "$<$<NOT:$<CONFIG:Debug>>:-O3>")
5051
target_compile_definitions(${TARGET} PRIVATE "$<$<NOT:$<CONFIG:Debug>>:NDEBUG>")
5152
endfunction()

0 commit comments

Comments
 (0)