aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/hdr_histogram/CMakeLists.txt
blob: 2d987779e85d5d12daa508a220ecd0962194f291 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
find_package(ZLIB)

add_library(contrib-libs-hdr_histogram)
target_include_directories(contrib-libs-hdr_histogram PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/hdr_histogram/src
)
target_link_libraries(contrib-libs-hdr_histogram PUBLIC
  contrib-libs-cxxsupp
  ZLIB::ZLIB
)
target_sources(contrib-libs-hdr_histogram PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/hdr_histogram/src/hdr_encoding.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/hdr_histogram/src/hdr_interval_recorder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/hdr_histogram/src/hdr_histogram.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/hdr_histogram/src/hdr_writer_reader_phaser.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/hdr_histogram/src/hdr_time.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/hdr_histogram/src/hdr_thread.c
)