]> git.cworth.org Git - apitrace/blob - thirdparty/snappy/CMakeLists.txt
Use skiplist-based FastCallSet within trace::CallSet
[apitrace] / thirdparty / snappy / CMakeLists.txt
1 add_definitions (
2     -DNDEBUG
3     -DHAVE_CONFIG_H
4 )
5
6 # Adjust warnings
7 if (CMAKE_COMPILER_IS_GNUCXX)
8     add_definitions (-Wno-unused-function)
9 endif ()
10
11 add_library (snappy_bundled STATIC EXCLUDE_FROM_ALL
12     snappy.cc
13     snappy-sinksource.cc
14     snappy-stubs-internal.cc
15     snappy-c.cc
16 )
17
18 set_target_properties (snappy_bundled PROPERTIES
19     COMPILE_FLAGS "${CMAKE_SHARED_LIBRARY_CXX_FLAGS}"
20 )
21
22 install (
23     FILES COPYING
24     DESTINATION ${DOC_INSTALL_DIR}
25     RENAME LICENSE-snappy.txt
26 )