mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: skip compilation of plugins if include files are missing (fixes #464)
This commit is contained in:
@ -158,6 +158,14 @@ canBuildPlugin()
|
|||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[ -d "$ParaView_INCLUDE_DIR" ] && \
|
||||||
|
[ -f "$ParaView_INCLUDE_DIR/pqServerManagerModel.h" ] || {
|
||||||
|
echo "==> cannot build ParaView plugins without an include directory"
|
||||||
|
echo " ... or without GUI support"
|
||||||
|
echo " ParaView_INCLUDE_DIR=$ParaView_INCLUDE_DIR"
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
|
||||||
command -v cmake > /dev/null 2>&1 || {
|
command -v cmake > /dev/null 2>&1 || {
|
||||||
echo "==> cannot build ParaView plugins without cmake"
|
echo "==> cannot build ParaView plugins without cmake"
|
||||||
return 1
|
return 1
|
||||||
|
|||||||
Reference in New Issue
Block a user