CONFIG: improve build against paraview on headless nodes

- the use of 'paraview --version' can be fail if the build host
  doesn't have the necessary graphics. For this case, try to obtain
  the ParaView API number from the associated include directory.
This commit is contained in:
Mark Olesen
2019-08-13 10:25:02 +02:00
committed by Andrew Heather
parent 212174064c
commit 9510cdd1be
3 changed files with 111 additions and 29 deletions

View File

@ -214,9 +214,13 @@ default:
endsw
endif
unset cleaned archDir
unset cmake cmake_version
unset pv_api pvLibDir pvPython qtDir qtLibDir
unsetenv ParaView_VERSION ParaView_QT
#------------------------------------------------------------------------------
unsetenv ParaView_VERSION ParaView_QT
unset archDir
unset cmake cmake_version
unset pv_api pvLibDir pvPython qtDir qtLibDir
#------------------------------------------------------------------------------