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@gmx.de>
Fixes: 5ef75cb02b "meson: build src/glx/windows"
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
(cherry picked from commit 4c5f0b4fd4)
This commit is contained in:
Marc Dietrich 2018-02-01 13:27:28 +01:00 committed by Emil Velikov
parent f4ac792671
commit a445cba84d

View file

@ -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',