File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1414 steps :
1515 - uses : actions/checkout@v2
1616
17- - run : brew install pkg-config netcdf ninja
17+ - run : brew install gcc netcdf ninja
1818
1919 - run : ctest -S setup.cmake -VV
20- env :
21- FC : gfortran-9
22- CC : gcc-9
2320
2421 - name : build examples
2522 run : |
Original file line number Diff line number Diff line change 1- cmake_minimum_required (VERSION 3.14)
1+ cmake_minimum_required (VERSION 3.15)
2+
3+ include (${CMAKE_CURRENT_SOURCE_DIR} /../cmake/policy .cmake)
4+ include (${CMAKE_CURRENT_SOURCE_DIR} /../cmake/compiler_find.cmake)
5+
26project (nc4fortranExample
3- LANGUAGES C CXX Fortran)
7+ LANGUAGES Fortran)
48enable_testing ()
59
10+ # see if ncfortran is installed; build if not found
611find_package (nc4fortran CONFIG)
712
813if (nc4fortran_FOUND)
You can’t perform that action at this time.
0 commit comments