Skip to content

Commit

Permalink
Fix INCLUDE spelling in a couple of vars
Browse files Browse the repository at this point in the history
  • Loading branch information
bartgol committed Dec 22, 2023
1 parent b8c898f commit f31a257
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/FindNetCDF.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,15 @@ else()
endif()

find_path(NetCDF_Fortran_INCLUDE_DIRS netcdf.mod
HINTS "${DEFAULT_Fortran_INCLUDE_DIR}" "$ENV{NetCDF_Fortran_INCLDE_DIRS}" "$ENV{CONDA_PREFIX}/Library/include"
HINTS "${DEFAULT_Fortran_INCLUDE_DIR}" "$ENV{NetCDF_Fortran_INCLUDE_DIRS}" "$ENV{CONDA_PREFIX}/Library/include"
DOC "NetCDF Fortran include directories")

find_library(NetCDF_Fortran_LIBRARY NAMES ${DEFAULT_LIBRARY_NAME}
HINTS "${DEFAULT_LIBRARY_DIR}" "$ENV{NetCDF_Fortran_LIBRARY}" "$ENV{CONDA_PREFIX}/Library/lib"
DOC "NetCDF libraries (or linking flags)")

find_path(NetCDF_C_INCLUDE_DIRS netcdf.h
HINTS "${DEFAULT_C_INCLUDE_DIR}" "$ENV{NetCDF_C_INCLDE_DIRS}" "$ENV{CONDA_PREFIX}/Library/include"
HINTS "${DEFAULT_C_INCLUDE_DIR}" "$ENV{NetCDF_C_INCLUDE_DIRS}" "$ENV{CONDA_PREFIX}/Library/include"
DOC "NetCDF C include directories")

find_library(NetCDF_C_LIBRARY NAMES ${DEFAULT_LIBRARY_NAME}
Expand Down

0 comments on commit f31a257

Please sign in to comment.