From df3ad924503de5f0f27ff167917cfd4b7c37c9e6 Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Fri, 18 May 2012 14:25:35 -0700 Subject: cmake: Relocate all GLUT directives into single location Nearly all CMakeLists.gl.txt contained the following: include_directories(${GLUT_INCLUDE_DIR}) link_libraries(${GLUT_glut_LIBRARY}) This patch relocates them to cmake/target_api/gl/CMakeLists.txt. Reviewed-by: Pauli Nieminen Reviewed-by: Jordan Justen Reviewed-by: Anuj Phogat Signed-off-by: Chad Versace --- cmake/target_api/gl/CMakeLists.txt | 6 ++++++ tests/asmparsertest/CMakeLists.gl.txt | 2 -- tests/bugs/CMakeLists.gl.txt | 2 -- tests/egl/CMakeLists.gl.txt | 2 -- tests/fbo/CMakeLists.gl.txt | 2 -- tests/general/CMakeLists.gl.txt | 2 -- tests/glean/CMakeLists.gl.txt | 2 -- tests/glslparsertest/CMakeLists.gl.txt | 2 -- tests/glx/CMakeLists.gl.txt | 2 -- tests/hiz/CMakeLists.gl.txt | 2 -- tests/mesa/tests/CMakeLists.gl.txt | 2 -- tests/mesa/util/CMakeLists.gl.txt | 2 -- tests/shaders/CMakeLists.gl.txt | 2 -- tests/spec/amd_seamless_cubemap_per_texture/CMakeLists.gl.txt | 2 -- tests/spec/arb_blend_func_extended/api/CMakeLists.gl.txt | 2 -- tests/spec/arb_blend_func_extended/execution/CMakeLists.gl.txt | 2 -- tests/spec/arb_color_buffer_float/CMakeLists.gl.txt | 2 -- tests/spec/arb_copy_buffer/CMakeLists.gl.txt | 2 -- tests/spec/arb_debug_output/CMakeLists.gl.txt | 2 -- tests/spec/arb_draw_buffers/CMakeLists.gl.txt | 2 -- tests/spec/arb_draw_elements_base_vertex/CMakeLists.gl.txt | 2 -- tests/spec/arb_draw_instanced/execution/CMakeLists.gl.txt | 2 -- tests/spec/arb_es2_compatibility/CMakeLists.gl.txt | 2 -- tests/spec/arb_fragment_program/CMakeLists.gl.txt | 2 -- tests/spec/arb_framebuffer_object/CMakeLists.gl.txt | 2 -- tests/spec/arb_instanced_arrays/CMakeLists.gl.txt | 2 -- tests/spec/arb_map_buffer_range/CMakeLists.gl.txt | 2 -- tests/spec/arb_multisample/CMakeLists.gl.txt | 2 -- tests/spec/arb_robustness/CMakeLists.gl.txt | 2 -- tests/spec/arb_sampler_objects/CMakeLists.gl.txt | 2 -- tests/spec/arb_seamless_cube_map/CMakeLists.gl.txt | 2 -- tests/spec/arb_shader_objects/CMakeLists.gl.txt | 2 -- tests/spec/arb_shader_texture_lod/execution/CMakeLists.gl.txt | 2 -- tests/spec/arb_texture_buffer_object/CMakeLists.gl.txt | 2 -- tests/spec/arb_texture_compression/CMakeLists.gl.txt | 2 -- tests/spec/arb_texture_float/CMakeLists.gl.txt | 2 -- tests/spec/arb_texture_storage/CMakeLists.gl.txt | 2 -- tests/spec/arb_transform_feedback2/CMakeLists.gl.txt | 2 -- tests/spec/arb_uniform_buffer_object/CMakeLists.gl.txt | 2 -- tests/spec/arb_vertex_buffer_object/CMakeLists.gl.txt | 2 -- tests/spec/arb_vertex_program/CMakeLists.gl.txt | 2 -- tests/spec/arb_vertex_type_2_10_10_10_rev/CMakeLists.gl.txt | 2 -- tests/spec/ati_draw_buffers/CMakeLists.gl.txt | 2 -- tests/spec/ati_envmap_bumpmap/CMakeLists.gl.txt | 2 -- tests/spec/ext_fog_coord/CMakeLists.gl.txt | 2 -- tests/spec/ext_framebuffer_multisample/CMakeLists.gl.txt | 2 -- tests/spec/ext_packed_depth_stencil/CMakeLists.gl.txt | 2 -- tests/spec/ext_packed_float/CMakeLists.gl.txt | 2 -- tests/spec/ext_texture_array/CMakeLists.gl.txt | 2 -- tests/spec/ext_texture_integer/CMakeLists.gl.txt | 2 -- tests/spec/ext_timer_query/CMakeLists.gl.txt | 2 -- tests/spec/ext_transform_feedback/CMakeLists.gl.txt | 2 -- tests/spec/gl-2.0/CMakeLists.gl.txt | 2 -- tests/spec/gl-2.0/api/CMakeLists.gl.txt | 2 -- tests/spec/gl-2.1/CMakeLists.gl.txt | 2 -- tests/spec/gl-3.0/CMakeLists.gl.txt | 2 -- tests/spec/gl-3.0/api/CMakeLists.gl.txt | 2 -- tests/spec/gl-3.1/CMakeLists.gl.txt | 2 -- tests/spec/glsl-1.10/execution/clipping/CMakeLists.gl.txt | 2 -- tests/spec/glsl-1.20/recursion/CMakeLists.gl.txt | 2 -- tests/spec/glsl-1.30/CMakeLists.gl.txt | 2 -- tests/spec/glsl-1.30/execution/CMakeLists.gl.txt | 2 -- tests/spec/glsl-1.30/execution/clipping/CMakeLists.gl.txt | 2 -- tests/spec/glsl-1.30/linker/clipping/CMakeLists.gl.txt | 2 -- tests/spec/glsl-1.40/CMakeLists.gl.txt | 2 -- tests/spec/glx_arb_create_context/CMakeLists.gl.txt | 2 -- tests/spec/glx_ext_import_context/CMakeLists.gl.txt | 2 -- tests/spec/nv_conditional_render/CMakeLists.gl.txt | 2 -- tests/spec/nv_texture_barrier/CMakeLists.gl.txt | 2 -- tests/texturing/CMakeLists.gl.txt | 2 -- tests/texturing/shaders/CMakeLists.gl.txt | 2 -- tests/util/CMakeLists.gl.txt | 1 - 72 files changed, 6 insertions(+), 141 deletions(-) diff --git a/cmake/target_api/gl/CMakeLists.txt b/cmake/target_api/gl/CMakeLists.txt index 506bb938c..47adb91f7 100644 --- a/cmake/target_api/gl/CMakeLists.txt +++ b/cmake/target_api/gl/CMakeLists.txt @@ -3,6 +3,12 @@ add_definitions( -DUSE_OPENGL -DUSE_GLUT ) +include_directories( + ${GLUT_INCLUDE_DIR} + ) +link_libraries( + ${GLUT_glut_LIBRARY} + ) add_subdirectory(${piglit_SOURCE_DIR}/tests ${piglit_BINARY_DIR}/target_api/${piglit_target_api}/tests ) diff --git a/tests/asmparsertest/CMakeLists.gl.txt b/tests/asmparsertest/CMakeLists.gl.txt index ee74560bd..b2efb9b7d 100644 --- a/tests/asmparsertest/CMakeLists.gl.txt +++ b/tests/asmparsertest/CMakeLists.gl.txt @@ -2,13 +2,11 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (asmparsertest asmparsertest.c) diff --git a/tests/bugs/CMakeLists.gl.txt b/tests/bugs/CMakeLists.gl.txt index 50f0715bb..64c30937b 100644 --- a/tests/bugs/CMakeLists.gl.txt +++ b/tests/bugs/CMakeLists.gl.txt @@ -2,7 +2,6 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ${piglit_SOURCE_DIR}/tests/mesa/util ) @@ -10,7 +9,6 @@ link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (crash-cubemap-order crash-cubemap-order.c) diff --git a/tests/egl/CMakeLists.gl.txt b/tests/egl/CMakeLists.gl.txt index aa863b0cd..ddfbbef9c 100644 --- a/tests/egl/CMakeLists.gl.txt +++ b/tests/egl/CMakeLists.gl.txt @@ -2,7 +2,6 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( @@ -10,7 +9,6 @@ link_libraries ( ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} ${OPENGL_egl_LIBRARY} - ${GLUT_glut_LIBRARY} ) IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux") diff --git a/tests/fbo/CMakeLists.gl.txt b/tests/fbo/CMakeLists.gl.txt index 34ac405a4..8e120e76f 100644 --- a/tests/fbo/CMakeLists.gl.txt +++ b/tests/fbo/CMakeLists.gl.txt @@ -2,7 +2,6 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ${piglit_SOURCE_DIR}/tests/mesa/util ) @@ -10,7 +9,6 @@ link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (fbo-1d fbo-1d.c) diff --git a/tests/general/CMakeLists.gl.txt b/tests/general/CMakeLists.gl.txt index 2c93b56a9..49e15ba6a 100644 --- a/tests/general/CMakeLists.gl.txt +++ b/tests/general/CMakeLists.gl.txt @@ -2,14 +2,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (array-stride array-stride.c) diff --git a/tests/glean/CMakeLists.gl.txt b/tests/glean/CMakeLists.gl.txt index aadb9c41a..fb06cbc73 100644 --- a/tests/glean/CMakeLists.gl.txt +++ b/tests/glean/CMakeLists.gl.txt @@ -11,7 +11,6 @@ ENDIF () include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ${TIFF_INCLUDE_DIR} ${piglit_SOURCE_DIR}/tests/util ) @@ -93,7 +92,6 @@ target_link_libraries (glean piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ${X11_X11_LIB} ${TIFF_LIBRARY} ${CARBON_LIBRARY} diff --git a/tests/glslparsertest/CMakeLists.gl.txt b/tests/glslparsertest/CMakeLists.gl.txt index f78e17951..c2e9ba9a7 100644 --- a/tests/glslparsertest/CMakeLists.gl.txt +++ b/tests/glslparsertest/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (glslparsertest glslparsertest.c) diff --git a/tests/glx/CMakeLists.gl.txt b/tests/glx/CMakeLists.gl.txt index fc00635e3..874991b40 100644 --- a/tests/glx/CMakeLists.gl.txt +++ b/tests/glx/CMakeLists.gl.txt @@ -2,7 +2,6 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) if(BUILD_GLX_TESTS) @@ -14,7 +13,6 @@ endif(BUILD_GLX_TESTS) link_libraries ( ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) IF(BUILD_GLX_TESTS) diff --git a/tests/hiz/CMakeLists.gl.txt b/tests/hiz/CMakeLists.gl.txt index cd646f27d..28d8f8570 100644 --- a/tests/hiz/CMakeLists.gl.txt +++ b/tests/hiz/CMakeLists.gl.txt @@ -3,7 +3,6 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) piglit_add_library(hiz-util @@ -16,7 +15,6 @@ link_libraries ( ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable(hiz-depth-stencil-test-fbo-d0-s8 hiz-depth-stencil-test-fbo-d0-s8.c) diff --git a/tests/mesa/tests/CMakeLists.gl.txt b/tests/mesa/tests/CMakeLists.gl.txt index dc60f8ec5..ba95ce53f 100644 --- a/tests/mesa/tests/CMakeLists.gl.txt +++ b/tests/mesa/tests/CMakeLists.gl.txt @@ -1,7 +1,6 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ${PNG_INCLUDE_DIR} ${piglit_SOURCE_DIR}/tests/mesa/util ) @@ -9,7 +8,6 @@ include_directories( link_libraries ( ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ${PNG_LIBRARIES} mesautil ) diff --git a/tests/mesa/util/CMakeLists.gl.txt b/tests/mesa/util/CMakeLists.gl.txt index d06db3a99..f70ad417a 100644 --- a/tests/mesa/util/CMakeLists.gl.txt +++ b/tests/mesa/util/CMakeLists.gl.txt @@ -2,14 +2,12 @@ include_directories ( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ${PNG_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ${PNG_LIBRARIES} ) add_definitions ( diff --git a/tests/shaders/CMakeLists.gl.txt b/tests/shaders/CMakeLists.gl.txt index 9efc26aca..4a5a1747a 100644 --- a/tests/shaders/CMakeLists.gl.txt +++ b/tests/shaders/CMakeLists.gl.txt @@ -2,7 +2,6 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ${piglit_SOURCE_DIR}/tests/mesa/util ) @@ -10,7 +9,6 @@ link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (glsl-max-vertex-attrib glsl-max-vertex-attrib.c) diff --git a/tests/spec/amd_seamless_cubemap_per_texture/CMakeLists.gl.txt b/tests/spec/amd_seamless_cubemap_per_texture/CMakeLists.gl.txt index 94f8795d2..2f9a36c89 100644 --- a/tests/spec/amd_seamless_cubemap_per_texture/CMakeLists.gl.txt +++ b/tests/spec/amd_seamless_cubemap_per_texture/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (amd_seamless_cubemap_per_texture amd_seamless_cubemap_per_texture.c) diff --git a/tests/spec/arb_blend_func_extended/api/CMakeLists.gl.txt b/tests/spec/arb_blend_func_extended/api/CMakeLists.gl.txt index 27e92040f..926e50d76 100644 --- a/tests/spec/arb_blend_func_extended/api/CMakeLists.gl.txt +++ b/tests/spec/arb_blend_func_extended/api/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (arb_blend_func_extended-bindfragdataindexed-invalid-parameters bindfragdataindexed-invalid-parameters.c) diff --git a/tests/spec/arb_blend_func_extended/execution/CMakeLists.gl.txt b/tests/spec/arb_blend_func_extended/execution/CMakeLists.gl.txt index 4f25d4c3a..ed7d96cb0 100644 --- a/tests/spec/arb_blend_func_extended/execution/CMakeLists.gl.txt +++ b/tests/spec/arb_blend_func_extended/execution/CMakeLists.gl.txt @@ -1,7 +1,6 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ${piglit_SOURCE_DIR}/tests/util ) @@ -9,7 +8,6 @@ link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (arb_blend_func_extended-fbo-extended-blend fbo-extended-blend.c) diff --git a/tests/spec/arb_color_buffer_float/CMakeLists.gl.txt b/tests/spec/arb_color_buffer_float/CMakeLists.gl.txt index 4db9a0066..9bab8b2e8 100644 --- a/tests/spec/arb_color_buffer_float/CMakeLists.gl.txt +++ b/tests/spec/arb_color_buffer_float/CMakeLists.gl.txt @@ -1,7 +1,6 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ${piglit_SOURCE_DIR}/tests/spec/arb_color_buffer_float ) @@ -9,7 +8,6 @@ link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (arb_color_buffer_float-getteximage getteximage.c) diff --git a/tests/spec/arb_copy_buffer/CMakeLists.gl.txt b/tests/spec/arb_copy_buffer/CMakeLists.gl.txt index 017b526d4..fc3829d11 100644 --- a/tests/spec/arb_copy_buffer/CMakeLists.gl.txt +++ b/tests/spec/arb_copy_buffer/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (copy_buffer_coherency copy_buffer_coherency.c) diff --git a/tests/spec/arb_debug_output/CMakeLists.gl.txt b/tests/spec/arb_debug_output/CMakeLists.gl.txt index 17365891c..77f0feb14 100644 --- a/tests/spec/arb_debug_output/CMakeLists.gl.txt +++ b/tests/spec/arb_debug_output/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (arb_debug_output-api_error api_error.c) diff --git a/tests/spec/arb_draw_buffers/CMakeLists.gl.txt b/tests/spec/arb_draw_buffers/CMakeLists.gl.txt index dd4aaed80..a28660ba3 100644 --- a/tests/spec/arb_draw_buffers/CMakeLists.gl.txt +++ b/tests/spec/arb_draw_buffers/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (arb_draw_buffers-state_change state_change.c) diff --git a/tests/spec/arb_draw_elements_base_vertex/CMakeLists.gl.txt b/tests/spec/arb_draw_elements_base_vertex/CMakeLists.gl.txt index 04174eeef..a2b3dec5a 100644 --- a/tests/spec/arb_draw_elements_base_vertex/CMakeLists.gl.txt +++ b/tests/spec/arb_draw_elements_base_vertex/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (draw-elements-instanced-base-vertex draw-elements-instanced-base-vertex.c) diff --git a/tests/spec/arb_draw_instanced/execution/CMakeLists.gl.txt b/tests/spec/arb_draw_instanced/execution/CMakeLists.gl.txt index 590127de4..532f0fad6 100644 --- a/tests/spec/arb_draw_instanced/execution/CMakeLists.gl.txt +++ b/tests/spec/arb_draw_instanced/execution/CMakeLists.gl.txt @@ -1,7 +1,6 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ${piglit_SOURCE_DIR}/tests/util ) @@ -9,7 +8,6 @@ link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (arb_draw_instanced-dlist dlist.c) diff --git a/tests/spec/arb_es2_compatibility/CMakeLists.gl.txt b/tests/spec/arb_es2_compatibility/CMakeLists.gl.txt index abac5a13d..82245d2fc 100644 --- a/tests/spec/arb_es2_compatibility/CMakeLists.gl.txt +++ b/tests/spec/arb_es2_compatibility/CMakeLists.gl.txt @@ -2,7 +2,6 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ${piglit_SOURCE_DIR}/tests/mesa/util ) @@ -10,7 +9,6 @@ link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (arb_es2_compatibility-depthrangef arb_es2_compatibility-depthrangef.c) diff --git a/tests/spec/arb_fragment_program/CMakeLists.gl.txt b/tests/spec/arb_fragment_program/CMakeLists.gl.txt index 2d51b7236..545e6da5d 100644 --- a/tests/spec/arb_fragment_program/CMakeLists.gl.txt +++ b/tests/spec/arb_fragment_program/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (arb_fragment_program-minmax minmax.c) diff --git a/tests/spec/arb_framebuffer_object/CMakeLists.gl.txt b/tests/spec/arb_framebuffer_object/CMakeLists.gl.txt index 07833581b..ac17f81da 100644 --- a/tests/spec/arb_framebuffer_object/CMakeLists.gl.txt +++ b/tests/spec/arb_framebuffer_object/CMakeLists.gl.txt @@ -1,7 +1,6 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ${piglit_SOURCE_DIR}/tests/mesa/util ) @@ -9,7 +8,6 @@ link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable(get-renderbuffer-internalformat get-renderbuffer-internalformat.c) diff --git a/tests/spec/arb_instanced_arrays/CMakeLists.gl.txt b/tests/spec/arb_instanced_arrays/CMakeLists.gl.txt index d9685c5e8..1c75bcf5c 100644 --- a/tests/spec/arb_instanced_arrays/CMakeLists.gl.txt +++ b/tests/spec/arb_instanced_arrays/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (instanced_arrays instanced_arrays.c) diff --git a/tests/spec/arb_map_buffer_range/CMakeLists.gl.txt b/tests/spec/arb_map_buffer_range/CMakeLists.gl.txt index cd9d6e410..eaf9217f9 100644 --- a/tests/spec/arb_map_buffer_range/CMakeLists.gl.txt +++ b/tests/spec/arb_map_buffer_range/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (map_buffer_range_error_check map_buffer_range_error_check.c) diff --git a/tests/spec/arb_multisample/CMakeLists.gl.txt b/tests/spec/arb_multisample/CMakeLists.gl.txt index 623900dbb..08110580e 100644 --- a/tests/spec/arb_multisample/CMakeLists.gl.txt +++ b/tests/spec/arb_multisample/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (arb_multisample-beginend beginend.c) diff --git a/tests/spec/arb_robustness/CMakeLists.gl.txt b/tests/spec/arb_robustness/CMakeLists.gl.txt index e19a598f9..5bd3c25ba 100644 --- a/tests/spec/arb_robustness/CMakeLists.gl.txt +++ b/tests/spec/arb_robustness/CMakeLists.gl.txt @@ -1,7 +1,6 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ${piglit_SOURCE_DIR}/tests/spec/arb_robustness ) @@ -9,7 +8,6 @@ link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (arb_robustness_draw-vbo-bounds draw-vbo-bounds.c) diff --git a/tests/spec/arb_sampler_objects/CMakeLists.gl.txt b/tests/spec/arb_sampler_objects/CMakeLists.gl.txt index 1046be8f6..479fe4881 100644 --- a/tests/spec/arb_sampler_objects/CMakeLists.gl.txt +++ b/tests/spec/arb_sampler_objects/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (sampler-objects sampler-objects.c) diff --git a/tests/spec/arb_seamless_cube_map/CMakeLists.gl.txt b/tests/spec/arb_seamless_cube_map/CMakeLists.gl.txt index 2a6bdd3b7..6f25470f4 100644 --- a/tests/spec/arb_seamless_cube_map/CMakeLists.gl.txt +++ b/tests/spec/arb_seamless_cube_map/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (arb_seamless_cubemap arb_seamless_cubemap.c) diff --git a/tests/spec/arb_shader_objects/CMakeLists.gl.txt b/tests/spec/arb_shader_objects/CMakeLists.gl.txt index 12b16d525..e2b594211 100644 --- a/tests/spec/arb_shader_objects/CMakeLists.gl.txt +++ b/tests/spec/arb_shader_objects/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (arb_shader_objects-bindattriblocation-scratch-name bindattriblocation-scratch-name.c) diff --git a/tests/spec/arb_shader_texture_lod/execution/CMakeLists.gl.txt b/tests/spec/arb_shader_texture_lod/execution/CMakeLists.gl.txt index e1e83f852..7ddc58085 100644 --- a/tests/spec/arb_shader_texture_lod/execution/CMakeLists.gl.txt +++ b/tests/spec/arb_shader_texture_lod/execution/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (arb_shader_texture_lod-texgrad texgrad.c) diff --git a/tests/spec/arb_texture_buffer_object/CMakeLists.gl.txt b/tests/spec/arb_texture_buffer_object/CMakeLists.gl.txt index fd71ff706..23dcfadcc 100644 --- a/tests/spec/arb_texture_buffer_object/CMakeLists.gl.txt +++ b/tests/spec/arb_texture_buffer_object/CMakeLists.gl.txt @@ -1,7 +1,6 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ${piglit_SOURCE_DIR}/tests/util ) @@ -9,7 +8,6 @@ link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (arb_texture_buffer_object-dlist dlist.c) diff --git a/tests/spec/arb_texture_compression/CMakeLists.gl.txt b/tests/spec/arb_texture_compression/CMakeLists.gl.txt index 0e09dcc0e..55039e19f 100644 --- a/tests/spec/arb_texture_compression/CMakeLists.gl.txt +++ b/tests/spec/arb_texture_compression/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (arb_texture_compression-internal-format-query internal-format-query.c) diff --git a/tests/spec/arb_texture_float/CMakeLists.gl.txt b/tests/spec/arb_texture_float/CMakeLists.gl.txt index 14df21f5b..b8fdfdea2 100644 --- a/tests/spec/arb_texture_float/CMakeLists.gl.txt +++ b/tests/spec/arb_texture_float/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (arb_texture_float-texture-float-formats texture-float-formats.c) diff --git a/tests/spec/arb_texture_storage/CMakeLists.gl.txt b/tests/spec/arb_texture_storage/CMakeLists.gl.txt index a4d33d404..725349ad9 100644 --- a/tests/spec/arb_texture_storage/CMakeLists.gl.txt +++ b/tests/spec/arb_texture_storage/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (arb_texture_storage-texture-storage texture-storage.c) diff --git a/tests/spec/arb_transform_feedback2/CMakeLists.gl.txt b/tests/spec/arb_transform_feedback2/CMakeLists.gl.txt index fe4e04d30..09fb9f9b9 100644 --- a/tests/spec/arb_transform_feedback2/CMakeLists.gl.txt +++ b/tests/spec/arb_transform_feedback2/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (arb_transform_feedback2-draw-auto draw-auto.c) diff --git a/tests/spec/arb_uniform_buffer_object/CMakeLists.gl.txt b/tests/spec/arb_uniform_buffer_object/CMakeLists.gl.txt index c70e3406c..342ffede4 100644 --- a/tests/spec/arb_uniform_buffer_object/CMakeLists.gl.txt +++ b/tests/spec/arb_uniform_buffer_object/CMakeLists.gl.txt @@ -1,7 +1,6 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ${piglit_SOURCE_DIR}/tests/util ) @@ -9,7 +8,6 @@ link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) add_executable (arb_uniform_buffer_object-getuniformblockindex getuniformblockindex.c) diff --git a/tests/spec/arb_vertex_buffer_object/CMakeLists.gl.txt b/tests/spec/arb_vertex_buffer_object/CMakeLists.gl.txt index 60b0d6ac8..3cd5a5a0a 100644 --- a/tests/spec/arb_vertex_buffer_object/CMakeLists.gl.txt +++ b/tests/spec/arb_vertex_buffer_object/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (arb_vertex_buffer_object-elements-negative-offset elements-negative-offset.c) diff --git a/tests/spec/arb_vertex_program/CMakeLists.gl.txt b/tests/spec/arb_vertex_program/CMakeLists.gl.txt index a6e62525e..8a792262c 100644 --- a/tests/spec/arb_vertex_program/CMakeLists.gl.txt +++ b/tests/spec/arb_vertex_program/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (arb_vertex_program-getenv4d-with-error getenv4d-with-error.c) diff --git a/tests/spec/arb_vertex_type_2_10_10_10_rev/CMakeLists.gl.txt b/tests/spec/arb_vertex_type_2_10_10_10_rev/CMakeLists.gl.txt index 8cfc832d8..5e9d9dc27 100644 --- a/tests/spec/arb_vertex_type_2_10_10_10_rev/CMakeLists.gl.txt +++ b/tests/spec/arb_vertex_type_2_10_10_10_rev/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (draw-vertices-2101010 draw-vertices-2101010.c) diff --git a/tests/spec/ati_draw_buffers/CMakeLists.gl.txt b/tests/spec/ati_draw_buffers/CMakeLists.gl.txt index f333e8ff4..d5bef5708 100644 --- a/tests/spec/ati_draw_buffers/CMakeLists.gl.txt +++ b/tests/spec/ati_draw_buffers/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (ati_draw_buffers-arbfp arbfp.c) diff --git a/tests/spec/ati_envmap_bumpmap/CMakeLists.gl.txt b/tests/spec/ati_envmap_bumpmap/CMakeLists.gl.txt index a1d5a0025..412bb017e 100644 --- a/tests/spec/ati_envmap_bumpmap/CMakeLists.gl.txt +++ b/tests/spec/ati_envmap_bumpmap/CMakeLists.gl.txt @@ -1,7 +1,6 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ${piglit_SOURCE_DIR}/tests/spec/arb_color_buffer_float ) @@ -9,7 +8,6 @@ link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (ati_envmap_bumpmap-bump bump.c) diff --git a/tests/spec/ext_fog_coord/CMakeLists.gl.txt b/tests/spec/ext_fog_coord/CMakeLists.gl.txt index 86e45055d..b491b378a 100644 --- a/tests/spec/ext_fog_coord/CMakeLists.gl.txt +++ b/tests/spec/ext_fog_coord/CMakeLists.gl.txt @@ -1,7 +1,6 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ${piglit_SOURCE_DIR}/tests/spec/arb_color_buffer_float ) @@ -9,7 +8,6 @@ link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (ext_fog_coord-modes modes.c) diff --git a/tests/spec/ext_framebuffer_multisample/CMakeLists.gl.txt b/tests/spec/ext_framebuffer_multisample/CMakeLists.gl.txt index 475237c44..43aab2f54 100644 --- a/tests/spec/ext_framebuffer_multisample/CMakeLists.gl.txt +++ b/tests/spec/ext_framebuffer_multisample/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (ext_framebuffer_multisample-accuracy common.cpp accuracy.cpp) diff --git a/tests/spec/ext_packed_depth_stencil/CMakeLists.gl.txt b/tests/spec/ext_packed_depth_stencil/CMakeLists.gl.txt index 94c77b93c..8ca8002bf 100644 --- a/tests/spec/ext_packed_depth_stencil/CMakeLists.gl.txt +++ b/tests/spec/ext_packed_depth_stencil/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (ext_packed_depth_stencil-readpixels-24_8 readpixels-24_8.c) diff --git a/tests/spec/ext_packed_float/CMakeLists.gl.txt b/tests/spec/ext_packed_float/CMakeLists.gl.txt index a0e6fabd3..9b33aa6fa 100644 --- a/tests/spec/ext_packed_float/CMakeLists.gl.txt +++ b/tests/spec/ext_packed_float/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (ext_packed_float-pack pack.c) diff --git a/tests/spec/ext_texture_array/CMakeLists.gl.txt b/tests/spec/ext_texture_array/CMakeLists.gl.txt index 578cc03cb..164841221 100644 --- a/tests/spec/ext_texture_array/CMakeLists.gl.txt +++ b/tests/spec/ext_texture_array/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (ext_texture_array-maxlayers maxlayers.c) diff --git a/tests/spec/ext_texture_integer/CMakeLists.gl.txt b/tests/spec/ext_texture_integer/CMakeLists.gl.txt index 072996a30..674e151a2 100644 --- a/tests/spec/ext_texture_integer/CMakeLists.gl.txt +++ b/tests/spec/ext_texture_integer/CMakeLists.gl.txt @@ -1,7 +1,6 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ${piglit_SOURCE_DIR}/tests/spec/arb_color_buffer_float ) @@ -9,7 +8,6 @@ link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (ext_texture_integer-fbo-blending fbo-blending.c) diff --git a/tests/spec/ext_timer_query/CMakeLists.gl.txt b/tests/spec/ext_timer_query/CMakeLists.gl.txt index 057c25fc4..3ac563fc3 100644 --- a/tests/spec/ext_timer_query/CMakeLists.gl.txt +++ b/tests/spec/ext_timer_query/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) IF (UNIX) diff --git a/tests/spec/ext_transform_feedback/CMakeLists.gl.txt b/tests/spec/ext_transform_feedback/CMakeLists.gl.txt index 2c984d2fb..b8c269370 100644 --- a/tests/spec/ext_transform_feedback/CMakeLists.gl.txt +++ b/tests/spec/ext_transform_feedback/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (ext_transform_feedback-alignment alignment.c) diff --git a/tests/spec/gl-2.0/CMakeLists.gl.txt b/tests/spec/gl-2.0/CMakeLists.gl.txt index 5ad939ae9..6d240035d 100644 --- a/tests/spec/gl-2.0/CMakeLists.gl.txt +++ b/tests/spec/gl-2.0/CMakeLists.gl.txt @@ -1,7 +1,6 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ${piglit_SOURCE_DIR}/tests/mesa/util ) @@ -9,7 +8,6 @@ link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (vertex-program-two-side vertex-program-two-side.c) diff --git a/tests/spec/gl-2.0/api/CMakeLists.gl.txt b/tests/spec/gl-2.0/api/CMakeLists.gl.txt index b455301d0..1d7737ef6 100644 --- a/tests/spec/gl-2.0/api/CMakeLists.gl.txt +++ b/tests/spec/gl-2.0/api/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (getattriblocation-conventional getattriblocation-conventional.c) diff --git a/tests/spec/gl-2.1/CMakeLists.gl.txt b/tests/spec/gl-2.1/CMakeLists.gl.txt index f422313b8..edf9e715f 100644 --- a/tests/spec/gl-2.1/CMakeLists.gl.txt +++ b/tests/spec/gl-2.1/CMakeLists.gl.txt @@ -1,7 +1,6 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ${piglit_SOURCE_DIR}/tests/mesa/util ) @@ -9,7 +8,6 @@ link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (gl-2.1-minmax minmax.c) diff --git a/tests/spec/gl-3.0/CMakeLists.gl.txt b/tests/spec/gl-3.0/CMakeLists.gl.txt index 304e4d768..e3dbef1a8 100644 --- a/tests/spec/gl-3.0/CMakeLists.gl.txt +++ b/tests/spec/gl-3.0/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (gl-3.0-minmax minmax.c) diff --git a/tests/spec/gl-3.0/api/CMakeLists.gl.txt b/tests/spec/gl-3.0/api/CMakeLists.gl.txt index a945dbbd1..924c17e8c 100644 --- a/tests/spec/gl-3.0/api/CMakeLists.gl.txt +++ b/tests/spec/gl-3.0/api/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (bindfragdata-invalid-parameters bindfragdata-invalid-parameters.c) diff --git a/tests/spec/gl-3.1/CMakeLists.gl.txt b/tests/spec/gl-3.1/CMakeLists.gl.txt index 608e457c5..d30670c05 100644 --- a/tests/spec/gl-3.1/CMakeLists.gl.txt +++ b/tests/spec/gl-3.1/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (gl-3.1-minmax minmax.c) diff --git a/tests/spec/glsl-1.10/execution/clipping/CMakeLists.gl.txt b/tests/spec/glsl-1.10/execution/clipping/CMakeLists.gl.txt index 41454d24d..9f5d48dc9 100644 --- a/tests/spec/glsl-1.10/execution/clipping/CMakeLists.gl.txt +++ b/tests/spec/glsl-1.10/execution/clipping/CMakeLists.gl.txt @@ -2,7 +2,6 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ${piglit_SOURCE_DIR}/tests/mesa/util ) @@ -10,7 +9,6 @@ link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (clip-plane-transformation clip-plane-transformation.c) diff --git a/tests/spec/glsl-1.20/recursion/CMakeLists.gl.txt b/tests/spec/glsl-1.20/recursion/CMakeLists.gl.txt index 2bac526be..69cdaa201 100644 --- a/tests/spec/glsl-1.20/recursion/CMakeLists.gl.txt +++ b/tests/spec/glsl-1.20/recursion/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (recursion recursion.c) diff --git a/tests/spec/glsl-1.30/CMakeLists.gl.txt b/tests/spec/glsl-1.30/CMakeLists.gl.txt index 3364994f5..b45dae9fd 100644 --- a/tests/spec/glsl-1.30/CMakeLists.gl.txt +++ b/tests/spec/glsl-1.30/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (glsl-1.30-texel-offset-limits texel-offset-limits.c) diff --git a/tests/spec/glsl-1.30/execution/CMakeLists.gl.txt b/tests/spec/glsl-1.30/execution/CMakeLists.gl.txt index 8c64778f2..fd6691d27 100644 --- a/tests/spec/glsl-1.30/execution/CMakeLists.gl.txt +++ b/tests/spec/glsl-1.30/execution/CMakeLists.gl.txt @@ -1,7 +1,6 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ${piglit_SOURCE_DIR}/tests/mesa/util ) @@ -9,7 +8,6 @@ link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (fs-discard-exit-2 fs-discard-exit-2.c) diff --git a/tests/spec/glsl-1.30/execution/clipping/CMakeLists.gl.txt b/tests/spec/glsl-1.30/execution/clipping/CMakeLists.gl.txt index 002868617..6871f5c53 100644 --- a/tests/spec/glsl-1.30/execution/clipping/CMakeLists.gl.txt +++ b/tests/spec/glsl-1.30/execution/clipping/CMakeLists.gl.txt @@ -2,7 +2,6 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ${piglit_SOURCE_DIR}/tests/mesa/util ) @@ -10,7 +9,6 @@ link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (max-clip-distances max-clip-distances.c) diff --git a/tests/spec/glsl-1.30/linker/clipping/CMakeLists.gl.txt b/tests/spec/glsl-1.30/linker/clipping/CMakeLists.gl.txt index c49807283..626c632be 100644 --- a/tests/spec/glsl-1.30/linker/clipping/CMakeLists.gl.txt +++ b/tests/spec/glsl-1.30/linker/clipping/CMakeLists.gl.txt @@ -2,7 +2,6 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ${piglit_SOURCE_DIR}/tests/mesa/util ) @@ -10,7 +9,6 @@ link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (mixing-clip-distance-and-clip-vertex-disallowed mixing-clip-distance-and-clip-vertex-disallowed.c) diff --git a/tests/spec/glsl-1.40/CMakeLists.gl.txt b/tests/spec/glsl-1.40/CMakeLists.gl.txt index 0d57dbc7d..dfa7f020f 100644 --- a/tests/spec/glsl-1.40/CMakeLists.gl.txt +++ b/tests/spec/glsl-1.40/CMakeLists.gl.txt @@ -1,7 +1,6 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ${piglit_SOURCE_DIR}/tests/spec/arb_color_buffer_float ${piglit_SOURCE_DIR}/tests/util ) @@ -10,7 +9,6 @@ link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) add_executable (glsl-1.40-tf-no-position tf-no-position.c) diff --git a/tests/spec/glx_arb_create_context/CMakeLists.gl.txt b/tests/spec/glx_arb_create_context/CMakeLists.gl.txt index 93aba5076..aad93ae43 100644 --- a/tests/spec/glx_arb_create_context/CMakeLists.gl.txt +++ b/tests/spec/glx_arb_create_context/CMakeLists.gl.txt @@ -2,7 +2,6 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) if(BUILD_GLX_TESTS) @@ -14,7 +13,6 @@ endif(BUILD_GLX_TESTS) link_libraries ( ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) IF(BUILD_GLX_TESTS) diff --git a/tests/spec/glx_ext_import_context/CMakeLists.gl.txt b/tests/spec/glx_ext_import_context/CMakeLists.gl.txt index e6941f272..1eaa2ea59 100644 --- a/tests/spec/glx_ext_import_context/CMakeLists.gl.txt +++ b/tests/spec/glx_ext_import_context/CMakeLists.gl.txt @@ -2,7 +2,6 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) if(BUILD_GLX_TESTS) @@ -14,7 +13,6 @@ endif(BUILD_GLX_TESTS) link_libraries ( ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) IF(BUILD_GLX_TESTS) diff --git a/tests/spec/nv_conditional_render/CMakeLists.gl.txt b/tests/spec/nv_conditional_render/CMakeLists.gl.txt index 670daac62..4e7d4b225 100644 --- a/tests/spec/nv_conditional_render/CMakeLists.gl.txt +++ b/tests/spec/nv_conditional_render/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (nv_conditional_render-begin-while-active begin-while-active.c) diff --git a/tests/spec/nv_texture_barrier/CMakeLists.gl.txt b/tests/spec/nv_texture_barrier/CMakeLists.gl.txt index 1b0394dbb..98adeb4ab 100644 --- a/tests/spec/nv_texture_barrier/CMakeLists.gl.txt +++ b/tests/spec/nv_texture_barrier/CMakeLists.gl.txt @@ -1,14 +1,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (blending-in-shader blending-in-shader.c) diff --git a/tests/texturing/CMakeLists.gl.txt b/tests/texturing/CMakeLists.gl.txt index 37b8bc7c6..f4ad8bc48 100644 --- a/tests/texturing/CMakeLists.gl.txt +++ b/tests/texturing/CMakeLists.gl.txt @@ -2,14 +2,12 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (1-1-linear-texture 1-1-linear-texture.c) diff --git a/tests/texturing/shaders/CMakeLists.gl.txt b/tests/texturing/shaders/CMakeLists.gl.txt index ac421dd94..cab42d95a 100644 --- a/tests/texturing/shaders/CMakeLists.gl.txt +++ b/tests/texturing/shaders/CMakeLists.gl.txt @@ -1,7 +1,6 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ${piglit_SOURCE_DIR}/tests/mesa/util ) @@ -9,7 +8,6 @@ link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} - ${GLUT_glut_LIBRARY} ) piglit_add_executable (textureSize textureSize.c common.c) diff --git a/tests/util/CMakeLists.gl.txt b/tests/util/CMakeLists.gl.txt index 7790e4f44..90c773cf4 100644 --- a/tests/util/CMakeLists.gl.txt +++ b/tests/util/CMakeLists.gl.txt @@ -1,7 +1,6 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} - ${GLUT_INCLUDE_DIR} ) set(UTIL_SOURCES -- cgit v1.2.3