Skip to content
Snippets Groups Projects
Commit f895c934 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

COMP: skip compilation of plugins if include files are missing (fixes #464)

parent d26ed933
No related branches found
No related tags found
No related merge requests found
...@@ -25,6 +25,14 @@ canBuildPlugin() ...@@ -25,6 +25,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
}
type cmake > /dev/null 2>&1 || { type cmake > /dev/null 2>&1 || {
echo "==> cannot build ParaView plugins without cmake" echo "==> cannot build ParaView plugins without cmake"
return 1 return 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment