[Piglit] [PATCH] Fix tests/mesa/util compiling

Zhenyu Wang zhenyuw at linux.intel.com
Wed Sep 1 18:50:32 PDT 2010


Add needed GLUT include and library flags.
---
 tests/mesa/util/CMakeLists.txt |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tests/mesa/util/CMakeLists.txt b/tests/mesa/util/CMakeLists.txt
index 9b58136..bcee8bd 100644
--- a/tests/mesa/util/CMakeLists.txt
+++ b/tests/mesa/util/CMakeLists.txt
@@ -1,11 +1,13 @@
 
 include_directories (
 	${OPENGL_INCLUDE_PATH}
+	${GLUT_INCLUDE_DIR}
 	${PNG_INCLUDE_DIR}
 )
 link_libraries (
 	${OPENGL_gl_LIBRARY}
 	${OPENGL_glu_LIBRARY}
+	${GLUT_glut_LIBRARY}
 	${TIFF_LIBRARY}
 	${PNG_LIBRARIES}
 )
-- 
1.7.0.4



More information about the Piglit mailing list