mirror of
https://git.code.sf.net/p/zint/code
synced 2024-09-19 15:28:56 -04:00
CMake: fix clang no-deprecated-declarations
This commit is contained in:
parent
f448943c0b
commit
55458cf659
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ if(ZINT_SANITIZE)
|
||||||
endif()
|
endif()
|
||||||
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||||
# Recent clangs added deprecation warnings for `sprintf()` that are only triggered on sanitize - suppress
|
# 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()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue