--- a/cmake/BTApplication.cmake
+++ b/cmake/BTApplication.cmake
@@ -57,9 +57,7 @@ IF(WIN32)
     ADD_COMPILE_OPTIONS("/Zi")
 ELSE()
     ADD_COMPILE_OPTIONS(
-        "-ggdb" "-Wall" "-Wextra"
-        "$<$<STREQUAL:$<CONFIGURATION>,Release>:-DNDEBUG>"
-        "$<$<STREQUAL:$<CONFIGURATION>,Release>:-DQT_NO_DEBUG>"
+        "-Wall" "-Wextra" "-DNDEBUG" "-DQT_NO_DEBUG"
     )
 ENDIF()
 UNSET(BibleTime_CXXFLAGS)
