SET(CMAKE_CONFIGURATION_TYPES ${CMAKE_BUILD_TYPE} CACHE STRING "compilation types" FORCE)
ELSE(WINDOWS)
IF(CMAKE_BUILD_TYPE STREQUAL Release)
- SET(CMAKE_C_FLAGS_RELEASE "-O2 -DNDEBUG")
- SET(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG")
+ SET(CMAKE_C_FLAGS_RELEASE "-O1 -DNDEBUG")
+ SET(CMAKE_CXX_FLAGS_RELEASE "-O1 -DNDEBUG")
ENDIF(CMAKE_BUILD_TYPE STREQUAL Release)
ENDIF(WINDOWS)
ENDIF(CMAKE_BUILD_TYPE)