]> git.cworth.org Git - apitrace/blob - thirdparty/snappy/CMakeLists.txt
9bbecdba6d2b9971654f8a7bb706ea702c252626
[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
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 )