mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-13 22:22:05 +00:00
rbdmap: Suppress warnings from zlib and minizip third-party source libraries
This commit is contained in:
parent
387c4a18e5
commit
5c8881c7cb
1 changed files with 8 additions and 0 deletions
|
@ -289,6 +289,14 @@ else()
|
|||
endforeach()
|
||||
endif()
|
||||
|
||||
# SRS - disable certain gcc/clang warnings for select third-party source libraries, consider updating versions in the future?
|
||||
set_source_files_properties(
|
||||
${MC_ZLIB_SOURCES}
|
||||
${MC_MINIZIP_SOURCES}
|
||||
PROPERTIES
|
||||
COMPILE_FLAGS "-Wno-stringop-overread -Wno-deprecated-non-prototype"
|
||||
)
|
||||
|
||||
include_directories(.)
|
||||
|
||||
if (USE_PRECOMPILED_HEADERS)
|
||||
|
|
Loading…
Reference in a new issue