You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran ccmake and configured the make to use HDF5 and netcdf that I had already compiled.
Then I ran cmake .. (from the build directory), and got:
-- Found NetCDF headers: /Users/mb312/usr/local/include
-- Found NetCDF library: /Users/mb312/usr/local/lib/libnetcdf.dylib
-- Found components for HDF5
-- HDF5 library : /Users/mb312/usr/local/lib/libhdf5.dylib
-- HDF5 headers : /Users/mb312/usr/local/include
CMake Error at CMakeLists.txt:222 (ADD_DEPENDENCIES):
add_dependencies called with incorrect number of arguments
I think this is because (around line 222 of CMakeLists.txt) MINC2_deps is the empty string when using the system HDF5 and system netcdf. Maybe the ADD_DEPENDENCIES line needs to be conditional on non-empty MINC2_deps?
The text was updated successfully, but these errors were encountered:
I ran
ccmake
and configured the make to use HDF5 and netcdf that I had already compiled.Then I ran
cmake ..
(from thebuild
directory), and got:I think this is because (around line 222 of CMakeLists.txt)
MINC2_deps
is the empty string when using the system HDF5 and system netcdf. Maybe theADD_DEPENDENCIES
line needs to be conditional on non-emptyMINC2_deps
?The text was updated successfully, but these errors were encountered: