CMAKE_MINIMUM_REQUIRED(VERSION 2.8)

PROJECT(TDengine)

IF (TD_LINUX)
  AUX_SOURCE_DIRECTORY(src SRC)
  INCLUDE_DIRECTORIES(${TD_ROOT_DIR}/src/inc ${TD_ROOT_DIR}/src/client/inc ${TD_OS_DIR}/inc ${TD_ROOT_DIR}/deps/zlib-1.2.11/inc inc)
  ADD_LIBRARY(http ${SRC})
  TARGET_LINK_LIBRARIES(http taos_static z)
ENDIF ()
