summaryrefslogtreecommitdiffstats
path: root/src/GeoIP-1.4.0/libGeoIP/CMakeLists.txt
blob: a0b9be009b29f67e7bd2f57b82421b389e1af57b (plain)
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}
)