Skip to content

Commit

Permalink
force c++17
Browse files Browse the repository at this point in the history
  • Loading branch information
CoryMartin-NOAA committed Aug 8, 2023
1 parent 8bb6a36 commit 34aa28b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions utils/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
project(gdas-utils LANGUAGES C CXX )

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_C_STANDARD 11)
set(CMAKE_C_STANDARD_REQUIRED ON)
set(CMAKE_C_EXTENSIONS OFF)
set(CMAKE_FORTRAN_STANDARD 08)
set(CMAKE_FORTRAN_STANDARD_REQUIRED ON)
set(CMAKE_FORTRAN_EXTENSIONS OFF)

find_package(NetCDF REQUIRED COMPONENTS CXX)
find_package(oops REQUIRED)
find_package(atlas REQUIRED)
Expand Down

0 comments on commit 34aa28b

Please sign in to comment.