Mesa (master): meson: don't install windows headers on non-windows platforms
Eric Engeström
eric_engestrom at kemper.freedesktop.org
Thu Feb 1 15:33:50 UTC 2018
Module: Mesa
Branch: master
Commit: 4c5f0b4fd45a5ca96a0e3137c177140dd85b149e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4c5f0b4fd45a5ca96a0e3137c177140dd85b149e
Author: Marc Dietrich <marvin24 at gmx.de>
Date: Thu Feb 1 13:27:28 2018 +0100
meson: don't install windows headers on non-windows platforms
Only dive into the windows subdir if windows platform is selected.
Signed-off-by: Marc Dietrich <marvin24 at gmx.de>
Fixes: 5ef75cb02b2b4db5506b8 "meson: build src/glx/windows"
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
---
src/glx/meson.build | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/glx/meson.build b/src/glx/meson.build
index 04cd647ee4..e645b22b5f 100644
--- a/src/glx/meson.build
+++ b/src/glx/meson.build
@@ -18,7 +18,9 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
-subdir('windows')
+if with_dri_platform == 'windows'
+ subdir('windows')
+endif
files_libglx = files(
'clientattrib.c',
More information about the mesa-commit
mailing list