Re: [Piglit] [PATCH] util: link with WAYLAND_LIBRARIES when building for Wayland

2016-11-30 Thread Mark Janes
Tested-by: Mark Janes 

Tapani Pälli  writes:

> Signed-off-by: Tapani Pälli 
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98769
> ---
>  tests/util/CMakeLists.txt | 5 +
>  1 file changed, 5 insertions(+)
>
> diff --git a/tests/util/CMakeLists.txt b/tests/util/CMakeLists.txt
> index f197d84..a9fc339 100644
> --- a/tests/util/CMakeLists.txt
> +++ b/tests/util/CMakeLists.txt
> @@ -153,6 +153,11 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
>   if(PIGLIT_HAS_X11)
>   list(APPEND UTIL_GL_LIBS ${X11_X11_LIB})
>   endif()
> +
> +if(PIGLIT_HAS_WAYLAND)
> + list(APPEND UTIL_GL_LIBS ${WAYLAND_LIBRARIES})
> +endif()
> +
>  endif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
>  
>  piglit_include_target_api()
> -- 
> 2.7.4
>
> ___
> Piglit mailing list
> Piglit@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/piglit
___
Piglit mailing list
Piglit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/piglit


[Piglit] [PATCH] util: link with WAYLAND_LIBRARIES when building for Wayland

2016-11-21 Thread Tapani Pälli
Signed-off-by: Tapani Pälli 
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98769
---
 tests/util/CMakeLists.txt | 5 +
 1 file changed, 5 insertions(+)

diff --git a/tests/util/CMakeLists.txt b/tests/util/CMakeLists.txt
index f197d84..a9fc339 100644
--- a/tests/util/CMakeLists.txt
+++ b/tests/util/CMakeLists.txt
@@ -153,6 +153,11 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
if(PIGLIT_HAS_X11)
list(APPEND UTIL_GL_LIBS ${X11_X11_LIB})
endif()
+
+if(PIGLIT_HAS_WAYLAND)
+   list(APPEND UTIL_GL_LIBS ${WAYLAND_LIBRARIES})
+endif()
+
 endif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
 
 piglit_include_target_api()
-- 
2.7.4

___
Piglit mailing list
Piglit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/piglit