This is the obvious thing to do. This eliminates the need to explicitly
link to libGL in every other CMakeLists.gl.txt.

Tested-by: Nanley Chery <nanley.g.ch...@intel.com>
---
 tests/util/CMakeLists.gl.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/util/CMakeLists.gl.txt b/tests/util/CMakeLists.gl.txt
index 34ad63e..a01fce3 100644
--- a/tests/util/CMakeLists.gl.txt
+++ b/tests/util/CMakeLists.gl.txt
@@ -4,6 +4,7 @@ include_directories(
 
 link_libraries(
        ${UTIL_GL_LIBS}
+       ${OPENGL_gl_LIBRARY}
        )
 
 IF(PIGLIT_BUILD_GLX_TESTS)
-- 
2.5.0.342.g44e0223

_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to