Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #6 from aatrani/master
Browse files Browse the repository at this point in the history
fixed CMAKE flag typo in readme
  • Loading branch information
David Minton authored and GitHub committed Jul 7, 2023
2 parents 6a82e69 + 3706292 commit cde0108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ $ cd build
As mentioned in the **System Requirements** section, Swiftest requires the NetCDF and NetCDF Fortran libraries to be installed prior to compilation. If the libraries are installed in the standard library location on your machine, CMake should be able to find the libraries without specifying the path. However, if CMake struggles to find the NetCDF libraries, there are two ways to set the path to these libraries.

1. Create an environment variable called ```NETCDF_FORTRAN_HOME``` that contains the path to the location where the libraries are installed
2. Set the path at the time of compilation using ```-CMAKE_PREFIX_PATH=/path/to/netcdf/```
2. Set the path at the time of compilation using ```-DCMAKE_PREFIX_PATH=/path/to/netcdf/```

CMake allows the user to specify a set of compiler flags to use during compilation. We define five sets of compiler flags: release, testing, profile, math, and debug. To view and/or edit the flags included in each set, see ```swiftest/cmake/Modules/SetFortranFlags.cmake```.

Expand Down

0 comments on commit cde0108

Please sign in to comment.