From 3f9e9a73fe348f46059806e8e5e15f7c8cc01940 Mon Sep 17 00:00:00 2001 From: Shuduo Sang Date: Mon, 6 Apr 2020 17:14:35 +0800 Subject: [PATCH] don't show compile warning of sql.c as it's from 3rd party. --- src/query/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/query/CMakeLists.txt b/src/query/CMakeLists.txt index a6462f9855..1bbd067804 100644 --- a/src/query/CMakeLists.txt +++ b/src/query/CMakeLists.txt @@ -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) \ No newline at end of file +ADD_SUBDIRECTORY(tests) +SET_SOURCE_FILES_PROPERTIES(src/sql.c PROPERTIES COMPILE_FLAGS -w) + -- GitLab