Merge pull request #1539 from sangshuduo/dont-show-compile-warning-of-sql-c

don't show compile warning of sql.c as it's from 3rd party.
This commit is contained in:
slguan 2020-04-06 17:23:04 +08:00 committed by GitHub
commit f0ade675e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -14,4 +14,6 @@ IF ((TD_LINUX_64) OR (TD_LINUX_32 AND TD_ARM))
TARGET_LINK_LIBRARIES(query tsdb tutil m rt)
ENDIF ()
ADD_SUBDIRECTORY(tests)
ADD_SUBDIRECTORY(tests)
SET_SOURCE_FILES_PROPERTIES(src/sql.c PROPERTIES COMPILE_FLAGS -w)