include_directories(
	${GLEXT_INCLUDE_DIR}
	${OPENGL_INCLUDE_PATH}
	${piglit_SOURCE_DIR}/tests/spec/arb_color_buffer_float
)

link_libraries (
	piglitutil_${piglit_target_api}
	${OPENGL_gl_LIBRARY}
)

piglit_add_executable (ext_fog_coord-modes modes.c)
piglit_add_executable (ext_fog_coord-modes-half-float modes-half-float.c)
IF (UNIX)
	target_link_libraries (ext_fog_coord-modes m)
ENDIF (UNIX)

# vim: ft=cmake:
