Demos (master): eglut_x11: Add ${X11_X11_LIB} to target_link_libraries.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Thu Nov 24 14:23:18 UTC 2011


Module: Demos
Branch: master
Commit: 4077300c5a7e3c6243896b3a43566ae949acf3e6
URL:    http://cgit.freedesktop.org/mesa/demos/commit/?id=4077300c5a7e3c6243896b3a43566ae949acf3e6

Author: Johannes Obermayr <johannesobermayr at gmx.de>
Date:   Sat Nov 19 17:51:21 2011 +0100

eglut_x11: Add ${X11_X11_LIB} to target_link_libraries.

Signed-off-by: Jose Fonseca <jfonseca at hera>

---

 src/egl/eglut/CMakeLists.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/egl/eglut/CMakeLists.txt b/src/egl/eglut/CMakeLists.txt
index b97caa6..45208d6 100644
--- a/src/egl/eglut/CMakeLists.txt
+++ b/src/egl/eglut/CMakeLists.txt
@@ -1,6 +1,6 @@
 if(X11_FOUND)
   add_library(eglut_x11 eglut.h eglut.c eglutint.h eglut_x11.c)
-  target_link_libraries(eglut_x11 ${EGL_egl_LIBRARY})
+  target_link_libraries(eglut_x11 ${EGL_egl_LIBRARY} ${X11_X11_LIB})
 endif(X11_FOUND)
 
 add_library(eglut_screen eglut.h eglut.c eglutint.h eglut_screen.c)




More information about the mesa-commit mailing list