cmake/Help/command/use_mangled_mesa.rst

16 lines
475 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
use_mangled_mesa
----------------
2019-11-11 23:01:05 +01:00
Disallowed since version 3.0. See CMake Policy :policy:`CMP0030`.
2014-08-03 19:52:23 +02:00
Copy mesa headers for use in combination with system GL.
2023-05-23 16:38:00 +02:00
.. code-block:: cmake
2014-08-03 19:52:23 +02:00
use_mangled_mesa(PATH_TO_MESA OUTPUT_DIRECTORY)
2019-11-11 23:01:05 +01:00
The path to mesa includes, should contain ``gl_mangle.h``. The mesa
2014-08-03 19:52:23 +02:00
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.