Commit fcf928f2 authored by Ben Boeckel's avatar Ben Boeckel

smtk: netcdf/hdf5 via moab

ParaView depends on netcdf optionally, but if it is enabled, netcdfcpp
also needs enabled. Given this initial setup:

  - ENABLE_smtk=ON

netcdf is enabled implicitly in the first pass to build the graph.
ParaView doesn't know this (smtk is processed after paraview), so it
cannot add the dependency. On the second pass, it sees that netcdf is
enabled and requests netcdfcpp, but it was pruned from the graph since
it didn't appear the first time and therefore errors out.

To fix this, make smtk depend on netcdf/hdf5 via moab. But also depend
optionally so that smtk can know about it if the superbuild has them
parent 067bb859
......@@ -11,7 +11,7 @@ endif()
# set(cgm_find_flags "-DCGM_CFG:PATH=${SuperBuild_BINARY_DIR}/cgm/src/cgm/cgm.make")
DEPENDS hdf5 netcdfcpp
DEPENDS hdf5 netcdf netcdfcpp
......@@ -22,8 +22,7 @@ set(SMTK_DATA_DIR "" CACHE PATH "Location of SMTK's testing data")
DEPENDS boost qt shiboken paraview remus
hdf5 netcdf
DEPENDS_OPTIONAL moab netcdf netcdfcpp hdf5
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