On Sat, Jan 29, 2011 at 4:08 AM, Paulo Zanoni <pzan...@mandriva.com> wrote:
>
> Signed-off-by: Paulo Zanoni <pzan...@mandriva.com>
> ---
>
> My cmake-fu is not good. Maybe there are better ways to fix this. Suggestions
> are always welcome =D
Thanks for the patch.  I've committed a similar fix from Jure Repinc
(bug #33505).
>  src/egl/opengl/CMakeLists.txt |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/egl/opengl/CMakeLists.txt b/src/egl/opengl/CMakeLists.txt
> index ede9ec3..3a012e1 100644
> --- a/src/egl/opengl/CMakeLists.txt
> +++ b/src/egl/opengl/CMakeLists.txt
> @@ -6,10 +6,10 @@ add_executable(eglinfo eglinfo.c)
>  target_link_libraries(eglinfo ${EGL_egl_LIBRARY})
>
>  add_executable(eglgears_screen eglgears.c)
> -target_link_libraries(eglgears_screen ${EGL_egl_LIBRARY} eglut_screen)
> +target_link_libraries(eglgears_screen ${EGL_egl_LIBRARY} eglut_screen m)
>
>  if(X11_FOUND)
>   add_executable(eglgears_x11 eglgears.c)
> -  target_link_libraries(eglgears_x11 ${EGL_egl_LIBRARY} eglut_x11)
> +  target_link_libraries(eglgears_x11 ${EGL_egl_LIBRARY} eglut_x11 m)
>  endif(X11_FOUND)
>
> --
> 1.7.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>



-- 
o...@lunarg.com
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to