Commit 067bb859 authored by Ben Boeckel's avatar Ben Boeckel

paraview: depend on netcdf as well

parent 1c273c87
......@@ -58,6 +58,12 @@ endif()
#set of quotes into pqparaviewInitializer, and break the build
set(optional_plugins CMB_Plugin+KMLExporter_Plugin)
set(paraview_depends)
if (ENABLE_netcdf OR netcdf_ENABLED)
list(APPEND paraview_depends
netcdfcpp)
endif ()
add_external_project(paraview
DEPENDS
boost
......@@ -68,8 +74,9 @@ add_external_project(paraview
# Doesn't work for OpenGL2 yet
# visitbridge
zlib
${paraview_depends}
DEPENDS_OPTIONAL
freetype ffmpeg hdf5 libxml3 manta mpi silo cgns mesa osmesa netcdfcpp
freetype ffmpeg hdf5 libxml3 manta mpi silo cgns mesa osmesa netcdf netcdfcpp
CMAKE_ARGS
-DBUILD_SHARED_LIBS:BOOL=ON
-DBUILD_TESTING:BOOL=OFF
......
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