include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} ) link_libraries ( piglitutil_${piglit_target_api} ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} ) piglit_add_executable (arb_shader_subroutine-minmax minmax.c)