diff --git a/CMakeLists.txt b/CMakeLists.txt index eff71f1..7e34d34 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -65,7 +65,7 @@ endif(NOT DEFINED CMAKE_BUILD_TYPE) if (DEFINED UNIX) # None -set(CMAKE_C_FLAGS "-Wall -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs") set(CMAKE_CXX_FLAGS "-Wall -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs") # Debug set(CMAKE_C_FLAGS_DEBUG "-g")