blob: 88a0c46161091f0cc537788faecf3cd1e2537018 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
force_release_build ()
add_definitions (
-DNDEBUG
-DHAVE_CONFIG_H
)
# Adjust warnings
if (NOT MSVC)
add_compiler_flags (-Wno-unused-function)
add_compiler_flags (-fstrict-aliasing)
endif ()
add_convenience_library (snappy_bundled EXCLUDE_FROM_ALL
snappy.cc
snappy-sinksource.cc
snappy-stubs-internal.cc
snappy-c.cc
)
install (
FILES COPYING
DESTINATION ${DOC_INSTALL_DIR}
RENAME LICENSE-snappy.txt
)
|