]> git.cworth.org Git - apitrace-tests/blob - apps/egl/gles2/CMakeLists.txt
Add egl apps.
[apitrace-tests] / apps / egl / gles2 / CMakeLists.txt
1 include_directories(
2     ${CMAKE_CURRENT_SOURCE_DIR}/../eglut
3     ${EGL_INCLUDE_DIRS}
4     ${GLESV2_INCLUDE_DIRS}
5 )
6
7 set (api gles2)
8
9 set (targets
10     tri
11 )
12
13 if (X11_FOUND)
14     foreach (target ${targets})
15         add_executable (${api}_${target} ${target}.c)
16         set_target_properties (${api}_${target} PROPERTIES OUTPUT_NAME ${target})
17         target_link_libraries (${api}_${target} ${EGL_LIBRARIES} ${GLESV2_LIBRARIES})
18     endforeach (target)
19 endif ()