From a789aeb7aa303961efb4e61bbb9aa140d1c69647 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Sat, 10 Nov 2012 09:11:19 +0000 Subject: [PATCH] snappy: Always build with NDEBUG define. --- thirdparty/snappy/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/thirdparty/snappy/CMakeLists.txt b/thirdparty/snappy/CMakeLists.txt index 87873d9..9bbecdb 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) -- 2.43.0