diff --git a/CMakeLists.txt b/CMakeLists.txt index 4ccdc1fd576142e6c96a22876b1adb9d60010863..95e5172f573256be388750b78a0625554fde548b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,7 +24,7 @@ if(CMAKE_COMPILER_IS_GNUCXX) # Strict compilation for C files is disabled until somebody wants to clean them. - set(CMAKE_C_FLAGS"-W -Wall -ansi $ENV{CFLAGS}" + set(CMAKE_C_FLAGS "-W -Wall -ansi $ENV{CFLAGS}" CACHE STRING "Flags used by the C compiler during normal builds." FORCE) set(CMAKE_C_FLAGS_DEBUG "-O0 -DDEBUG -ggdb3 -W -Wall -ansi $ENV{CFLAGS}" CACHE STRING "Flags used by the C compiler during debug builds." FORCE)