summaryrefslogtreecommitdiffstats
path: root/src/fluent-bit/plugins/out_prometheus_exporter/CMakeLists.txt
blob: f03809e57ff75c010f70f3b1cc9a91671f4ce227 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
if(NOT FLB_HTTP_SERVER)
  message(
    FATAL_ERROR
    "Prometheus Exporter output plugin requires built-in HTTP Server be enabled:
     Use -DFLB_HTTP_SERVER=On option to enable it"
    )
endif()

set(src
  prom_http.c
  prom.c
  )

FLB_PLUGIN(out_prometheus_exporter "${src}" "")