@ -9,10 +9,9 @@ INCLUDE(CheckIncludeFile)
INCLUDE(CheckLibraryExists)
INCLUDE(CheckFunctionExists)
IF (NOT CMAKE_BUILD_TYPE)
SET (CMAKE_BUILD_TYPE Debug)
IF (CMAKE_BUILD_TYPE EQUAL "Debug")
SET (CMAKE_C_FLAGS "-ggdb -O0 -Wall -pedantic -DDEBUG -std=c99")
ENDIF (NOT CMAKE_BUILD_TYPE)
ENDIF (CMAKE_BUILD_TYPE EQUAL "Debug")
# set paths
SET(CMAKE_INSTALL_PREFIX "/usr")