[Piglit] [PATCH] cmake: Link libpiglitutil_gl to libGL

Chad Versace chad.versace at intel.com
Wed Sep 16 13:07:11 PDT 2015


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.chery at 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



More information about the Piglit mailing list