1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
include_directories( ${CMAKE_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/src ${ZLIB_INCLUDE_DIRS} ) ##### geoip (static) tde_add_library( geoip STATIC_PIC SOURCES GeoIP.c GeoIPCity.c regionName.c timeZone.c GeoIPUpdate.c md5.c LINK ${ZLIB_LIBRARIES} )