From: Marc Dietrich Date: Thu, 1 Feb 2018 12:27:28 +0000 (+0100) Subject: meson: don't install windows headers on non-windows platforms X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4c5f0b4fd45a5ca96a0e3137c177140dd85b149e;p=mesa.git 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 Fixes: 5ef75cb02b2b4db5506b8 "meson: build src/glx/windows" Reviewed-by: Eric Engestrom --- diff --git a/src/glx/meson.build b/src/glx/meson.build index 04cd647ee49..e645b22b5fe 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',