mirror of
https://github.com/woo-j/zint.git
synced 2024-12-23 01:33:55 +03:00
CMake: fix clang no-deprecated-declarations
This commit is contained in:
parent
f448943c0b
commit
55458cf659
@ -94,7 +94,7 @@ if(ZINT_SANITIZE)
|
||||
endif()
|
||||
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
# Recent clangs added deprecation warnings for `sprintf()` that are only triggered on sanitize - suppress
|
||||
add_compile_options(-W-no-deprecated-declarations)
|
||||
add_compile_options(-Wno-deprecated-declarations)
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user