Skip to content

Commit

Permalink
Merge pull request #1267 from UV-CDAT/issue_903_turn_off_paraview
Browse files Browse the repository at this point in the history
Issue 903 turn off paraview
  • Loading branch information
aashish24 committed May 7, 2015
2 parents 94f63d6 + 5c2baa4 commit 8a9b545
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMake/cdat_modules/cdat_deps.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ set(CDAT_deps ${wget_pkg} ${python_pkg} ${numpy_pkg}
${libcdms_pkg}
${libcf_pkg} ${netcdf_pkg} ${myproxyclient_pkg} ${udunits2_pkg})
if (CDAT_BUILD_GRAPHICS)
if (CDAT_BUILD_PARALLEL)
if (CDAT_BUILD_PARAVIEW)
list(APPEND CDAT_deps ${paraview_pkg})
else()
list(APPEND CDAT_deps ${vtk_pkg})
Expand Down
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ option(CDAT_BUILD_GUI "Builds GUI-based dependencies (Vistrails, ParaView, VisIt
option(CDAT_BUILD_GRAPHICS "Build graphics-based dependencies (vcs, pyqt, Vistrails, ParaView, VisIt, R, etc.) " ON)
option(CDAT_BUILD_ESGF "Alias for CDAT_BUILD_LEAN" OFF)
option(CDAT_BUILD_UVCMETRICSPKG "Builds uvcmetrics package " ON)
option(CDAT_BUILD_PARAVIEW "Build ParaView rather than just VTK" OFF)

# If ESGF option is on then our build mode is LEAN.
if (CDAT_BUILD_ESGF)
Expand Down Expand Up @@ -498,7 +499,7 @@ include(osmesa_pkg)
include(python_pkg)
include(seawater_pkg)
include(vacumm_pkg)
if (CDAT_BUILD_PARALLEL)
if (CDAT_BUILD_PARAVIEW)
include(paraview_pkg)
else()
include(vtk_pkg)
Expand Down

0 comments on commit 8a9b545

Please sign in to comment.