From d5c14578a6a43ea12a83030828152570cc648aae Mon Sep 17 00:00:00 2001 From: Jaroslav Gratz Date: Thu, 17 Sep 2020 08:50:39 +0200 Subject: [PATCH] -DNDEBUG added to default cmake flags --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a93e06f4e..44c79e968 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,7 +15,7 @@ set (fasttext_VERSION_MINOR 1) include_directories(fasttext) -set(CMAKE_CXX_FLAGS " -pthread -std=c++11 -funroll-loops -O3 -march=native") +set(CMAKE_CXX_FLAGS " -pthread -std=c++11 -funroll-loops -O3 -march=native -DNDEBUG") set(HEADER_FILES src/args.h