diff options
Diffstat (limited to 'src/glx/tests/Makefile.am')
-rw-r--r-- | src/glx/tests/Makefile.am | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/glx/tests/Makefile.am b/src/glx/tests/Makefile.am index 4dc358c..3599b3d 100644 --- a/src/glx/tests/Makefile.am +++ b/src/glx/tests/Makefile.am @@ -20,9 +20,13 @@ glx_test_SOURCES = \ enum_sizes.cpp \ fake_glx_screen.cpp \ indirect_api.cpp \ - query_renderer_implementation_unittest.cpp \ query_renderer_unittest.cpp +if HAVE_DRI2 +glx_test_SOURCES += \ + query_renderer_implementation_unittest.cpp +endif + glx_test_LDADD = \ $(top_builddir)/src/glx/libglx.la \ $(top_builddir)/src/gtest/libgtest.la \ |