include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} ) link_libraries ( piglitutil_${piglit_target_api} ${OPENGL_gl_LIBRARY} ) # Display stuff in the tests #add_definitions (-DDISPLAY) # Don't bother with the piglit helper functions since we just need a simple # static link that won't be installed. (We'll actually anger newer cmake if we # use piglit helpers). add_library (pipestat_help STATIC pipestat_help.c) piglit_add_executable (arb_pipeline_statistics_query-extra_prims pipeline_stats_extra_prims.c) target_link_libraries (arb_pipeline_statistics_query-extra_prims pipestat_help) piglit_add_executable (arb_pipeline_statistics_query-vert pipeline_stats_vert.c) target_link_libraries (arb_pipeline_statistics_query-vert pipestat_help) piglit_add_executable (arb_pipeline_statistics_query-vert_adj pipeline_stats_vert_adj.c) target_link_libraries (arb_pipeline_statistics_query-vert_adj pipestat_help) piglit_add_executable (arb_pipeline_statistics_query-clip pipeline_stats_clip.c) target_link_libraries (arb_pipeline_statistics_query-clip pipestat_help) piglit_add_executable (arb_pipeline_statistics_query-geom pipeline_stats_geom.c) target_link_libraries (arb_pipeline_statistics_query-geom pipestat_help) piglit_add_executable (arb_pipeline_statistics_query-frag pipeline_stats_frag.c) target_link_libraries (arb_pipeline_statistics_query-frag pipestat_help) piglit_add_executable (arb_pipeline_statistics_query-comp pipeline_stats_comp.c) target_link_libraries (arb_pipeline_statistics_query-comp pipestat_help) # vim: ft=cmake