Merge branch 'feature/os' of https://github.com/taosdata/TDengine into feature/os

This commit is contained in:
Shengliang Guan 2020-08-06 18:43:50 +08:00
commit b750ab1ef3
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ extern "C" {
#endif
#define POW2(x) ((x) * (x))
#define ABS(x) ((x) > 0 ? (x) : (-x))
#define ABS(x) ((x) > 0 ? (x) : -(x))
#ifndef TAOS_OS_FUNC_MATH
#define SWAP(a, b, c) \

View File

@ -10,7 +10,7 @@ ADD_LIBRARY(query ${SRC})
SET_SOURCE_FILES_PROPERTIES(src/sql.c PROPERTIES COMPILE_FLAGS -w)
IF (TD_LINUX)
TARGET_LINK_LIBRARIES(query tutil m rt)
TARGET_LINK_LIBRARIES(query tsdb tutil m rt)
ADD_SUBDIRECTORY(tests)
ELSEIF (TD_WINDOWS)
TARGET_LINK_LIBRARIES(query tutil)