for windows compile
This commit is contained in:
parent
11e82045d9
commit
0e6dfe292a
|
@ -24,8 +24,6 @@ taos_fetch_row_a
|
|||
taos_subscribe
|
||||
taos_consume
|
||||
taos_unsubscribe
|
||||
taos_subfields_count
|
||||
taos_fetch_subfields
|
||||
taos_open_stream
|
||||
taos_close_stream
|
||||
taos_fetch_block
|
||||
|
|
|
@ -34,6 +34,7 @@ ELSEIF (TD_WINDOWS_64)
|
|||
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/deps/iconv)
|
||||
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/deps/regex)
|
||||
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/inc)
|
||||
LIST(APPEND SRC ./src/hash.c)
|
||||
LIST(APPEND SRC ./src/ihash.c)
|
||||
LIST(APPEND SRC ./src/lz4.c)
|
||||
LIST(APPEND SRC ./src/shash.c)
|
||||
|
@ -68,6 +69,7 @@ ELSEIF (TD_WINDOWS_64)
|
|||
TARGET_LINK_LIBRARIES(tutil iconv regex pthread os winmm IPHLPAPI ws2_32)
|
||||
ELSEIF(TD_DARWIN_64)
|
||||
ADD_DEFINITIONS(-DUSE_LIBICONV)
|
||||
LIST(APPEND SRC ./src/hash.c)
|
||||
LIST(APPEND SRC ./src/ihash.c)
|
||||
LIST(APPEND SRC ./src/lz4.c)
|
||||
LIST(APPEND SRC ./src/shash.c)
|
||||
|
|
Loading…
Reference in New Issue