]> git.cworth.org Git - apitrace-tests/blob - apps/egl/eglut/CMakeLists.txt
Add egl apps.
[apitrace-tests] / apps / egl / eglut / CMakeLists.txt
1 include_directories (
2         ${EGL_INCLUDE_DIRS}
3 )
4
5 if (X11_FOUND)
6         add_library (eglut eglut.c eglut_x11.c)
7         target_link_libraries (eglut ${EGL_LIBRARIES} ${X11_X11_LIB})
8 else ()
9         add_library (eglut eglut.c eglut_screen.c)
10         target_link_libraries (eglut ${EGL_LIBRARIES})
11 endif ()
12