
include_directories(
	${GLEXT_INCLUDE_DIR}
	${OPENGL_INCLUDE_PATH}
	${GLPROTO_INCLUDE_DIRS}
)

link_libraries (
	${EGL_LDFLAGS}
	${OPENGL_gl_LIBRARY}
)

piglit_add_executable (egl-create-context-default-major-version-gl default-major-version-gl.c common.c)
piglit_add_executable (egl-create-context-default-minor-version-gl default-minor-version-gl.c common.c)
piglit_add_executable (egl-create-context-valid-attribute-empty-gl valid-attribute-empty-gl.c common.c)
piglit_add_executable (egl-create-context-valid-attribute-null-gl valid-attribute-null-gl.c common.c)
piglit_add_executable (egl-create-context-invalid-attribute-gl invalid-attribute-gl.c common.c)
piglit_add_executable (egl-create-context-invalid-flag-gl invalid-flag-gl.c common.c)
piglit_add_executable (egl-create-context-invalid-profile invalid-profile.c common.c)
piglit_add_executable (egl-create-context-pre-GL32-profile pre-GL32-profile.c common.c)
piglit_add_executable (egl-create-context-valid-flag-forward-compatible-gl valid-flag-forward-compatible-gl.c common.c)
piglit_add_executable (egl-create-context-core-profile core-profile.c common.c)
piglit_add_executable (egl-create-context-valid-flag-debug-gl valid-flag-debug.c common.c)

# vim: ft=cmake:
