[Piglit] [PATCH] Fix a cmake issue with compiling the oes base_vertex tests.

Ryan Houdek sonicadvance1 at gmail.com
Fri Feb 12 06:48:53 UTC 2016


In a GLES only build this would fail to compile
---
 .../spec/oes_draw_elements_base_vertex/CMakeLists.gles2.txt  | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/tests/spec/oes_draw_elements_base_vertex/CMakeLists.gles2.txt b/tests/spec/oes_draw_elements_base_vertex/CMakeLists.gles2.txt
index bd50394..29cc8a0 100644
--- a/tests/spec/oes_draw_elements_base_vertex/CMakeLists.gles2.txt
+++ b/tests/spec/oes_draw_elements_base_vertex/CMakeLists.gles2.txt
@@ -1,14 +1,8 @@
-include_directories(
-	${GLEXT_INCLUDE_DIR}
-	${OPENGL_INCLUDE_PATH}
-)
-
-link_libraries (
-	piglitutil_${piglit_target_api}
-	${OPENGL_gl_LIBRARY}
-)
+link_libraries(piglitutil_${piglit_target_api})
 
 piglit_add_executable (oes_draw_elements_base_vertex-drawelements drawelements.c)
 piglit_add_executable (oes_draw_elements_base_vertex-drawrangeelements drawrangeelements.c)
 piglit_add_executable (oes_draw_elements_base_vertex-drawelements-instanced drawelements-instanced.c)
 piglit_add_executable (oes_draw_elements_base_vertex-multidrawelements multidrawelements.c)
+
+# vim: ft=cmake:
-- 
2.5.0



More information about the Piglit mailing list