From ef066e237377c7bca95cfa6e9735b5f81bcb9b86 Mon Sep 17 00:00:00 2001 From: tkummermehr Date: Fri, 14 Jul 2017 11:30:57 +0200 Subject: Disarm assertions by setting -DNDEBUG flag --- ucs2-interface/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'ucs2-interface') diff --git a/ucs2-interface/CMakeLists.txt b/ucs2-interface/CMakeLists.txt index df1ba20..4d3c5ee 100644 --- a/ucs2-interface/CMakeLists.txt +++ b/ucs2-interface/CMakeLists.txt @@ -18,6 +18,7 @@ # Add target to project dependency list PROJECT_TARGET_ADD(ucs2-inter) + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DNDEBUG") # Define targets ADD_LIBRARY(ucs2-inter STATIC ucs_lib_interf.c ucs_vol_interf.c ucs-xml/UcsXml.c ucs-xml/UcsXml_Private.c) -- cgit 1.2.3-korg