egl: match geometry position of glxgears
[mesa-demos.git] / src / egl / eglut / CMakeLists.txt
blob0417b48f24e06ba26fcff0e3d198fa119e4acdc5
1 include_directories (
2         ${EGL_INCLUDE_DIRS}
5 if (X11_FOUND)
6         add_library (eglut_x11 eglut.h eglut.c eglutint.h eglut_x11.c)
7         target_link_libraries (eglut_x11 ${EGL_LIBRARIES} ${X11_X11_LIB})
8         if (BUILD_SHARED_LIBS)
9                 install (TARGETS eglut_x11 DESTINATION ${LIBDIR})
10         endif (BUILD_SHARED_LIBS)
11 endif (X11_FOUND)