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

Jose Fonseca jfonseca at vmware.com
Tue Jul 18 15:18:10 UTC 2017


On 18/07/17 16:18, Brian Paul wrote:
> 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
> 

Reviewed-by: Jose Fonseca <jfonseca at vmware.com>


More information about the Piglit mailing list