aboutsummaryrefslogtreecommitdiffstats
path: root/ucs2-interface
diff options
context:
space:
mode:
authortkummermehr <thorsten.kummermehr@k2l.de>2017-07-14 11:30:57 +0200
committertkummermehr <thorsten.kummermehr@k2l.de>2017-07-14 11:30:57 +0200
commitef066e237377c7bca95cfa6e9735b5f81bcb9b86 (patch)
treedbf347f23ae7a5bd6475fe279eb689896c531c73 /ucs2-interface
parentf4b34a4b00dc0983ae8f9a56828c2bc86ac11c7f (diff)
Disarm assertions by setting -DNDEBUG flag
Diffstat (limited to 'ucs2-interface')
-rw-r--r--ucs2-interface/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
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)