mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: streamline handling of static/dynamic libs in detection scripts
This commit is contained in:
@ -135,7 +135,7 @@ have_pvplugin_support()
|
||||
return 1
|
||||
}
|
||||
|
||||
# Header/library names
|
||||
# Include/library names
|
||||
header="pqServerManagerModel.h"
|
||||
|
||||
if [ -n "$ParaView_DIR" ]
|
||||
@ -173,13 +173,16 @@ have_pvplugin_support()
|
||||
)
|
||||
fi
|
||||
|
||||
# ----------------------------------
|
||||
|
||||
# Header found?
|
||||
# Header
|
||||
[ -n "$header" ] || {
|
||||
[ -n "$warn" ] && echo "$warn (no header)"
|
||||
return 2
|
||||
}
|
||||
|
||||
# ----------------------------------
|
||||
|
||||
# OK
|
||||
export HAVE_PVPLUGIN_SUPPORT=true
|
||||
export FOAM_PV_PLUGIN_LIBBIN="$targetDir"
|
||||
|
||||
Reference in New Issue
Block a user