Skip to content

Commit

Permalink
Enable NetCDF by adding -DUSE_NETCDF4
Browse files Browse the repository at this point in the history
  • Loading branch information
kgerheiser committed Aug 3, 2020
1 parent f89d94b commit bd7cf33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ endif()
list(APPEND definitions_list -DUSE_IPOLATES=${USE_IPOLATES})

if(USE_NETCDF4)
find_package(NetCDF MODULE REQUIRED COMPONENTS C)
find_package(NetCDF MODULE REQUIRED COMPONENTS C)
list(APPEND definitions_list -DUSE_NETCDF4 -DUSE_HDF5 -DHDF5="hdf5")
endif()

if(USE_JASPER)
Expand Down

0 comments on commit bd7cf33

Please sign in to comment.