include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} ) link_libraries ( piglitutil_${piglit_target_api} ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} ) piglit_add_executable (occlusion_query occlusion_query.c) piglit_add_executable (occlusion_query_lifetime occlusion_query_lifetime.c) piglit_add_executable (occlusion_query_meta_no_fragments occlusion_query_meta_no_fragments.c) piglit_add_executable (occlusion_query_meta_fragments occlusion_query_meta_fragments.c) piglit_add_executable (occlusion_query_order occlusion_query_order.c)