fix build issue on Mac

This commit is contained in:
Shuduo Sang 2020-02-06 18:46:22 +08:00
parent bceb039543
commit eb1e63b5ad
1 changed files with 1 additions and 0 deletions

View File

@ -98,6 +98,7 @@ ELSEIF(TD_DARWIN_64)
LIST(APPEND SRC ./src/ttypes.c)
LIST(APPEND SRC ./src/tutil.c)
LIST(APPEND SRC ./src/version.c)
LIST(APPEND SRC ./src/hash.c)
ADD_LIBRARY(tutil ${SRC})
TARGET_LINK_LIBRARIES(tutil iconv pthread os)
ENDIF()