diff options
author | Marc Dietrich <marvin24@gmx.de> | 2018-02-01 13:27:28 +0100 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2018-02-05 19:06:02 +0000 |
commit | a445cba84d982a2f8b6eed24cf9e83fe47fee682 (patch) | |
tree | fdea933789fc49e7fbcfa881efaf6b15d35a2aa8 | |
parent | f4ac792671e574bedd00e01951580654912bb3fb (diff) |
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: 5ef75cb02b2b4db5506b8 "meson: build src/glx/windows"
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
(cherry picked from commit 4c5f0b4fd45a5ca96a0e3137c177140dd85b149e)
-rw-r--r-- | src/glx/meson.build | 4 |
1 files changed, 3 insertions, 1 deletions
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', |