aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/snappy/CMakeLists.txt
blob: fa186e40ea983f1034131302fa9b70406c075f7e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
add_library(contrib-libs-snappy)
target_compile_options(contrib-libs-snappy PRIVATE
  -DHAVE_CONFIG_H
)
target_include_directories(contrib-libs-snappy PUBLIC
  ${CMAKE_SOURCE_DIR}/contrib/libs/snappy/include
)
target_include_directories(contrib-libs-snappy PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/snappy/include
)
target_link_libraries(contrib-libs-snappy PUBLIC
  contrib-libs-cxxsupp
  yutil
)
target_sources(contrib-libs-snappy PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/snappy/snappy-c.cc
  ${CMAKE_SOURCE_DIR}/contrib/libs/snappy/snappy-sinksource.cc
  ${CMAKE_SOURCE_DIR}/contrib/libs/snappy/snappy-stubs-internal.cc
  ${CMAKE_SOURCE_DIR}/contrib/libs/snappy/snappy.cc
)