diff options
author | Eric Anholt <[email protected]> | 2012-03-05 17:01:13 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2012-04-12 17:18:00 -0700 |
commit | 94726d263ebee6364e9be2f254c3ca7d1f85dde4 (patch) | |
tree | d1f66e287e2475aef8db5a0210cf9bf3d1d9a532 /tests/glx | |
parent | 3d000e7dd14c3185b9e27a6c38a67288b4d10431 (diff) |
glx: Hook up the unit tests again using the internal gtest.
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'tests/glx')
-rw-r--r-- | tests/glx/Makefile.am | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/glx/Makefile.am b/tests/glx/Makefile.am index cdebf5d0cb1..b5cc0b001ab 100644 --- a/tests/glx/Makefile.am +++ b/tests/glx/Makefile.am @@ -3,7 +3,6 @@ AM_CFLAGS = -I$(top_builddir)/src/glx -I$(top_builddir)/src/mapi \ AM_CXXFLAGS = -I$(top_builddir)/src/glx -I$(top_builddir)/src/mapi \ $(X11_CFLAGS) $(GTEST_CFLAGS) -if HAVE_GTEST if HAVE_XCB_GLX_CREATE_CONTEXT TESTS = glx_unittest check_PROGRAMS = glx_unittest @@ -13,6 +12,9 @@ glx_unittest_SOURCES = \ create_context_unittest.cpp \ fake_glx_screen.cpp -glx_unittest_LDADD = $(top_builddir)/src/glx/libglx.a $(GTEST_LIBS) -lgtest_main -endif +glx_unittest_LDADD = \ + $(top_builddir)/src/glx/libglx.la \ + $(top_builddir)/src/gtest/libgtest.la \ + -lpthread + endif |