[Piglit] [PATCH] tests/util: remove unneeded cmake code for WGL

Brian Paul brianp at vmware.com
Tue Jul 18 15:18:19 UTC 2017


GLPROTO_INCLUDE_DIRS are not needed for WGL.  Spotted by Jose.
---
 tests/util/CMakeLists.gl.txt | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/tests/util/CMakeLists.gl.txt b/tests/util/CMakeLists.gl.txt
index e11213a..4a9cb67 100644
--- a/tests/util/CMakeLists.gl.txt
+++ b/tests/util/CMakeLists.gl.txt
@@ -34,12 +34,6 @@ IF(PIGLIT_BUILD_GLX_TESTS)
 ENDIF(PIGLIT_BUILD_GLX_TESTS)
 
 IF(PIGLIT_BUILD_WGL_TESTS)
-	# XXX: This is currently duplicated wherever tests
-	# include "piglit-wgl-util.h". Is it possible to refactor it?
-	include_directories(
-		${GLPROTO_INCLUDE_DIRS}
-	)
-
 	add_definitions ( -DPIGLIT_USE_WGL )
 	piglit_add_library (piglitwglutil
 		    piglit-shader.c
-- 
1.9.1



More information about the Piglit mailing list