Skip to content

Commit

Permalink
add c_standard in cmake flags
Browse files Browse the repository at this point in the history
  • Loading branch information
filiatra committed Apr 23, 2024
1 parent 02012bb commit 4d2819a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/AddCXXCompileOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
######################################################################

set(CMAKE_CXX_STANDARD_DEFAULT 14)
set(CMAKE_C_STANDARD 11) #90,99,11,17,23

if (CMAKE_CXX_COMPILER_ID STREQUAL "PGI")

Expand Down

0 comments on commit 4d2819a

Please sign in to comment.