mirror of
https://github.com/cuberite/cuberite.git
synced 2025-01-05 10:27:10 +08:00
Enable build under newer clang versions.
This commit is contained in:
parent
4f5a9327c2
commit
6aec10feab
@ -202,5 +202,11 @@ function(set_exe_flags TARGET)
|
||||
-Wno-reserved-identifier
|
||||
)
|
||||
endif()
|
||||
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 16)
|
||||
target_compile_options(
|
||||
${TARGET} PRIVATE
|
||||
-Wno-unsafe-buffer-usage
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
endfunction()
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 5e881e8ea9f3d420a58fa7802c604649c9766eb2
|
||||
Subproject commit e628819414ebd316334a0c66b5494916ae3c98b2
|
Loading…
Reference in New Issue
Block a user