summaryrefslogtreecommitdiff
path: root/thirdparty/snappy
diff options
context:
space:
mode:
authorJosé Fonseca <jose.r.fonseca@gmail.com>2012-11-10 09:11:19 +0000
committerJosé Fonseca <jose.r.fonseca@gmail.com>2012-11-10 09:11:19 +0000
commita789aeb7aa303961efb4e61bbb9aa140d1c69647 (patch)
treeeafd18e3d1d8109de243567eceb4961b94260152 /thirdparty/snappy
parent3d47ad9d266bb8bddceedb6a974764f4d347978e (diff)
snappy: Always build with NDEBUG define.
Diffstat (limited to 'thirdparty/snappy')
-rw-r--r--thirdparty/snappy/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/thirdparty/snappy/CMakeLists.txt b/thirdparty/snappy/CMakeLists.txt
index 87873d9f..9bbecdba 100644
--- a/thirdparty/snappy/CMakeLists.txt
+++ b/thirdparty/snappy/CMakeLists.txt
@@ -1,4 +1,7 @@
-add_definitions (-DHAVE_CONFIG_H)
+add_definitions (
+ -DNDEBUG
+ -DHAVE_CONFIG_H
+)
# Adjust warnings
if (CMAKE_COMPILER_IS_GNUCXX)