[Mesa-dev] [PATCH 1/6] eglut_x11: Add ${X11_X11_LIB} to target_link_libraries.

Johannes Obermayr johannesobermayr at gmx.de
Sat Nov 19 08:51:21 PST 2011


---
 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)
-- 
1.7.7



More information about the mesa-dev mailing list