Similar to the earlier patch for waffle-less (glut) builds. The need
for this patch became apparent as we removed the libGL link dependency
in waffle.

Cc: Mark Janes <[email protected]>
Reported-by: Mark Janes <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
---
 tests/util/CMakeLists.gl.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/util/CMakeLists.gl.txt b/tests/util/CMakeLists.gl.txt
index 34ad63e..ecd9be3 100644
--- a/tests/util/CMakeLists.gl.txt
+++ b/tests/util/CMakeLists.gl.txt
@@ -30,6 +30,10 @@ IF(PIGLIT_BUILD_GLX_TESTS)
                ${UTIL_GL_SOURCES}
                piglit-glx-util.c
        )
+       link_libraries(
+               ${OPENGL_gl_LIBRARY}
+       )
+
 ENDIF(PIGLIT_BUILD_GLX_TESTS)
 
 piglit_add_library (piglitutil_${piglit_target_api}
-- 
2.1.3

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to