Silence SQLite build warnings.

This commit is contained in:
levlam 2020-11-13 18:17:23 +03:00
parent 15b1543e20
commit 1d9f2835d2

View File

@ -50,7 +50,7 @@ endif()
if (GCC OR CLANG)
target_compile_options(tdsqlite PRIVATE -Wno-deprecated-declarations -Wno-unused-variable -Wno-unused-const-variable -Wno-unused-function)
if (CLANG)
target_compile_options(tdsqlite PRIVATE -Wno-parentheses-equality -Wno-unused-value)
target_compile_options(tdsqlite PRIVATE -Wno-parentheses-equality -Wno-unused-value -Wno-unused-command-line-argument -Qunused-arguments)
endif()
if (GCC AND NOT (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 10.0))
target_compile_options(tdsqlite PRIVATE -Wno-return-local-addr -Wno-stringop-overflow)