minor cmake fix
GitOrigin-RevId: 539498b3ade92f5faca4d63c8ecf3c80783caad7
This commit is contained in:
parent
ef92fb36ea
commit
bc75542960
@ -36,9 +36,9 @@ if ("${CMAKE_SYSTEM_NAME}" STREQUAL "WindowsStore")
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (GCC OR CLANG)
|
if (GCC OR CLANG)
|
||||||
target_compile_options(tdsqlite PRIVATE "-Wno-deprecated-declarations -Wno-unused-variable -Wno-unused-const-variable -Wno-unused-function")
|
target_compile_options(tdsqlite PRIVATE -Wno-deprecated-declarations -Wno-unused-variable -Wno-unused-const-variable -Wno-unused-function)
|
||||||
if (CLANG)
|
if (CLANG)
|
||||||
target_compile_options(tdsqlite PRIVATE "-Wno-parentheses-equality -Wno-unused-value")
|
target_compile_options(tdsqlite PRIVATE -Wno-parentheses-equality -Wno-unused-value)
|
||||||
endif()
|
endif()
|
||||||
elseif (MSVC)
|
elseif (MSVC)
|
||||||
target_compile_options(tdsqlite PRIVATE /wd4996)
|
target_compile_options(tdsqlite PRIVATE /wd4996)
|
||||||
|
Loading…
Reference in New Issue
Block a user