Skip to content

Commit

Permalink
add CXX_FLAGS in gcc.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
k-ido committed Aug 20, 2024
1 parent ad4b8dc commit 23c451d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/gcc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 23c451d

Please sign in to comment.