CMakeLists.gl.txt 634 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
include_directories(
	${piglit_SOURCE_DIR}/tests
	${piglit_SOURCE_DIR}/tests/util

	${GLEXT_INCLUDE_DIR}
	${OPENGL_INCLUDE_PATH}
	${GLUT_INCLUDE_DIR}
	)

add_library(hiz-util
	hiz-util.c
	)

14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
link_libraries (
	hiz-util
	piglitutil

	${OPENGL_gl_LIBRARY}
	${OPENGL_glu_LIBRARY}
	${OPENGL_egl_LIBRARY}
	${GLUT_glut_LIBRARY}
	${TIFF_LIBRARY}
)

IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
	link_libraries(pthread X11)
ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")

add_executable(hiz-depth-test-window-stencil0 hiz-depth-test-window-stencil0.c)
add_executable(hiz-depth-test-window-stencil1 hiz-depth-test-window-stencil1.c)

32
# vim: ft=cmake: