diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8d7566017b109e9b7c28aa8cce0493c8247b46cd..314c61fd7049a4d4eb503320a518e172085dd4d0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,7 +13,7 @@ SET(PATCH_VERSION 0)
 
 #set compile flags
 SET(DEFAULT_FLAGS "--std=gnu99")
-SET(RELEASE_FLAGS "-Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common -Wsign-compare -Wunused-result")
+SET(RELEASE_FLAGS "-Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common -Wsign-compare -Wunused-result -Wno-error")
 
 include(GNUInstallDirs)