[Piglit] [PATCH] util: link with WAYLAND_LIBRARIES when building for Wayland
Mark Janes
mark.a.janes at intel.com
Wed Nov 30 18:25:34 UTC 2016
Tested-by: Mark Janes <mark.a.janes at intel.com>
Tapani Pälli <tapani.palli at intel.com> writes:
> Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
> 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 at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/piglit
More information about the Piglit
mailing list