blob: 23bc59052a937ebf83d5337424bc676efcf2cceb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
include_directories(
${GLEXT_INCLUDE_DIR}
${OPENGL_INCLUDE_PATH}
${GLUT_INCLUDE_DIR}
${piglit_SOURCE_DIR}/tests/util
)
link_libraries (
piglitglxutil
${OPENGL_gl_LIBRARY}
${OPENGL_glu_LIBRARY}
${GLUT_glut_LIBRARY}
${X11_X11_LIB}
)
IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
add_executable (glx-free-context free-context.c common.c)
add_executable (glx-get-context-id get-context-id.c common.c)
add_executable (glx-import-context-has-same-context-id import-context-has-same-context-id.c common.c)
add_executable (glx-import-context-multi-process import-context-multi-process.c common.c)
add_executable (glx-import-context-single-process import-context-single-process.c common.c)
add_executable (glx-make-current-multi-process make-current-multi-process.c common.c)
add_executable (glx-make-current-single-process make-current-single-process.c common.c)
ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
# vim: ft=cmake:
|