summaryrefslogtreecommitdiff
path: root/Help/command/use_mangled_mesa.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/command/use_mangled_mesa.rst')
-rw-r--r--Help/command/use_mangled_mesa.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/Help/command/use_mangled_mesa.rst b/Help/command/use_mangled_mesa.rst
new file mode 100644
index 000000000..6f4d7aca6
--- /dev/null
+++ b/Help/command/use_mangled_mesa.rst
@@ -0,0 +1,15 @@
+use_mangled_mesa
+----------------
+
+Disallowed. See CMake Policy :policy:`CMP0030`.
+
+Copy mesa headers for use in combination with system GL.
+
+::
+
+ use_mangled_mesa(PATH_TO_MESA OUTPUT_DIRECTORY)
+
+The path to mesa includes, should contain gl_mangle.h. The mesa
+headers are copied to the specified output directory. This allows
+mangled mesa headers to override other GL headers by being added to
+the include directory path earlier.