Use -DNDEBUG for build type RelWithDebInfo

v3.5.13-sru
Slávek Banko 12 years ago
parent 008e6589df
commit 2bd4c7fa78

@ -245,6 +245,9 @@ IF(KDE3_FOUND)
#SET(CMAKE_MODULE_LINKER_FLAGS "-Wl,--fatal-warnings -avoid-version -Wl,--no-undefined -lc")
ENDIF(KDE3_FOUND)
# Set compiler flags according to build type
set( CMAKE_CXX_FLAGS_RELWITHDEBINFO "-DNDEBUG" )
set( CMAKE_C_FLAGS_RELWITHDEBINFO "-DNDEBUG" )
# KDE3Macros.cmake contains all the KDE specific macros
INCLUDE(KDE3Macros)

Loading…
Cancel
Save