CMAKE_MINIMUM_REQUIRED(VERSION 2.8) PROJECT(TDengine) IF (TD_LINUX) AUX_SOURCE_DIRECTORY(src SRC) INCLUDE_DIRECTORIES(inc) ADD_LIBRARY(z ${SRC}) ENDIF ()