| summaryrefslogtreecommitdiff |
path: root/CMakeLists.txt
diff options
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index de697d5..a6ab099 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,9 +9,9 @@ add_definitions(-D_POSIX_SOURCE) add_definitions(-D_POSIX_C_SOURCE=200809L) if(CMAKE_COMPILER_IS_GNUCC) + set(CMAKE_C_FLAGS "-g -Wall -Wpedantic -Wconversion") message(STATUS "GNUCC detected. Adding '-O3' parameter.") set(CMAKE_C_FLAGS "-O3") - #set(CMAKE_C_FLAGS "-g -Wall -Wpedantic -Wconversion") endif() # ${SRC_FILES} is recursively defined in the subdirectories. |


