diff options
Diffstat (limited to 'thirdparty')
-rw-r--r-- | thirdparty/brotli/CMakeLists.txt | 3 | ||||
-rw-r--r-- | thirdparty/snappy/CMakeLists.txt | 2 | ||||
-rw-r--r-- | thirdparty/zlib/CMakeLists.txt | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/thirdparty/brotli/CMakeLists.txt b/thirdparty/brotli/CMakeLists.txt index f5133420..8ef1917b 100644 --- a/thirdparty/brotli/CMakeLists.txt +++ b/thirdparty/brotli/CMakeLists.txt @@ -1,5 +1,4 @@ -add_definitions ( -) +force_release_build () add_convenience_library (brotli_dec_bundled EXCLUDE_FROM_ALL diff --git a/thirdparty/snappy/CMakeLists.txt b/thirdparty/snappy/CMakeLists.txt index dbe8b706..88a0c461 100644 --- a/thirdparty/snappy/CMakeLists.txt +++ b/thirdparty/snappy/CMakeLists.txt @@ -1,3 +1,5 @@ +force_release_build () + add_definitions ( -DNDEBUG -DHAVE_CONFIG_H diff --git a/thirdparty/zlib/CMakeLists.txt b/thirdparty/zlib/CMakeLists.txt index c76f9e7a..a0a1ca07 100644 --- a/thirdparty/zlib/CMakeLists.txt +++ b/thirdparty/zlib/CMakeLists.txt @@ -1,3 +1,5 @@ +force_release_build () + include_directories (${CMAKE_CURRENT_SOURCE_DIR}) # adjust warnings |