|
|
@ -9,10 +9,9 @@ INCLUDE(CheckIncludeFile) |
|
|
|
INCLUDE(CheckLibraryExists) |
|
|
|
INCLUDE(CheckLibraryExists) |
|
|
|
INCLUDE(CheckFunctionExists) |
|
|
|
INCLUDE(CheckFunctionExists) |
|
|
|
|
|
|
|
|
|
|
|
IF (NOT CMAKE_BUILD_TYPE) |
|
|
|
IF (CMAKE_BUILD_TYPE EQUAL "Debug") |
|
|
|
SET (CMAKE_BUILD_TYPE Debug) |
|
|
|
|
|
|
|
SET (CMAKE_C_FLAGS "-ggdb -O0 -Wall -pedantic -DDEBUG -std=c99") |
|
|
|
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 paths |
|
|
|
SET(CMAKE_INSTALL_PREFIX "/usr") |
|
|
|
SET(CMAKE_INSTALL_PREFIX "/usr") |
|
|
|