]> git.cworth.org Git - apitrace/blob - thirdparty/snappy/CMakeLists.txt
Universal config.h for snappy.
[apitrace] / thirdparty / snappy / CMakeLists.txt
1 add_definitions (-DHAVE_CONFIG_H)
2
3 # Adjust warnings
4 if (CMAKE_COMPILER_IS_GNUCXX)
5     add_definitions (-Wno-unused-function)
6 endif ()
7
8 add_library (snappy_bundled STATIC
9     snappy.cc
10     snappy-sinksource.cc
11     snappy-stubs-internal.cc
12     snappy-c.cc
13 )
14
15 set_target_properties (snappy_bundled PROPERTIES
16     COMPILE_FLAGS "${CMAKE_SHARED_LIBRARY_CXX_FLAGS}"
17 )