Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
ee416e81
Commit
ee416e81
authored
Jan 14, 2009
by
Andrew Heather
Browse files
promoting MESA paths to top level
parent
e16a7676
Changes
2
Hide whitespace changes
Inline
Side-by-side
bin/buildParaView3.5-cvs
View file @
ee416e81
...
...
@@ -53,6 +53,8 @@ PYTHON_LIBRARY=""
# MESA graphics support:
WITH_MESA
=
OFF
MESA_INCLUDE_DIR
=
"/usr/include/GL"
MESA_LIBRARY
=
"/usr/lib64/libOSMesa.so"
#
# No further editing below this line
...
...
bin/tools/buildParaViewFunctions
View file @
ee416e81
...
...
@@ -154,9 +154,6 @@ addMesaSupport()
{
[
"
$WITH_MESA
"
=
ON
]
||
return
MESA_INCLUDE_DIR
=
/usr/include/GL
MESA_LIBRARY
=
/usr/lib
$WM_COMPILER_LIB_ARCH
/libOSMesa.so
if
[
-d
"
$MESA_INCLUDE_DIR
"
-a
-f
"
$MESA_LIBRARY
"
]
then
OBJ_ADD
=
"
$OBJ_ADD
-mesa"
...
...
@@ -167,6 +164,10 @@ addMesaSupport()
else
echo
"*** Error: no MESA information found"
echo
"*** Deactivate MESA support by setting WITH_MESA=OFF, or"
echo
"*** correct paths given by:"
echo
"*** - MESA_INCLUDE_DIR (
$MESA_INCLUDE_DIR
)"
echo
"*** - MESA_LIBRARY (
$MESA_LIBRARY
)"
exit
1
fi
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment