diff --git a/config/gcc.cmake b/config/gcc.cmake index 2d7b08df..92d13423 100644 --- a/config/gcc.cmake +++ b/config/gcc.cmake @@ -3,4 +3,6 @@ set(CMAKE_C_COMPILER "gcc" CACHE STRING "" FORCE) set(CMAKE_CXX_COMPILER "g++" CACHE STRING "" FORCE) set(CMAKE_C_FLAGS_DEBUG "-g -O0 -Wall -Wformat -Werror=format-security") set(CMAKE_C_FLAGS_RELEASE "-O2 -Wno-unknown-pragmas ") +set(CMAKE_CXX_FLAGS_DEBUG "-g -O0 -Wall -Wformat -Werror=format-security") +set(CMAKE_CXX_FLAGS_RELEASE "-O2 -Wno-unknown-pragmas ") set(CMAKE_Fortran_COMPILER "gfortran" CACHE STRING "" FORCE)