aboutsummaryrefslogtreecommitdiff
path: root/tests/spec/glx_ext_import_context/CMakeLists.gl.txt
blob: be54556b718193331a6e457d8a0667dc4d8d291c (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

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-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: