ENH: streamline handling of static/dynamic libs in detection scripts

This commit is contained in:
Mark Olesen
2019-04-29 10:04:44 +02:00
parent 686e358982
commit bfd51ca7d4
17 changed files with 341 additions and 436 deletions

View File

@ -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"