Commit 12722ef7 authored by Julien Michel's avatar Julien Michel

BUG: Fix bug #1457

parent 01fbe132
......@@ -25,7 +25,8 @@ SETUP_SUPERBUILD(NETCDF)
# declare dependencies
ADDTO_DEPENDENCIES_IF_NOT_SYSTEM(NETCDF HDF5 ZLIB CURL HDF4 JPEG)
set(NETCDF_SB_CONFIG)
set(NETCDF_SB_CONFIG ${NETCDF_SB_CONFIG} -DHDF5_C_LIBRARY:PATH=${SB_INSTALL_PREFIX}/lib/libhdf5.so
-DHDF5_HL_LIBRARY:PATH=${SB_INSTALL_PREFIX}/lib/libhdf5_hl.so -DHDF5_INCLUDE_DIR:PATH=${SB_INSTALL_PREFIX}/include)
ExternalProject_Add(NETCDF
PREFIX NETCDF
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment