mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
committed by
Andrew Heather
parent
212174064c
commit
9510cdd1be
@ -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
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user