Commit 6d8a020f authored by Chad Versace's avatar Chad Versace

cmake: Don't link to the OpenGL ES 2.0 library

Piglit has not needed to link to libGLESv2 ever since Anholt added GLES2
support to piglit-dispatch.
Signed-off-by: default avatarChad Versace <chad.versace@linux.intel.com>
parent 044809f3
......@@ -349,8 +349,6 @@ if(PIGLIT_BUILD_GLES3_TESTS AND NOT EGL_FOUND)
"Failed to find EGL library.")
endif()
find_library(OPENGL_gles2_LIBRARY NAMES GLESv2)
# Put all executables into the bin subdirectory
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${piglit_BINARY_DIR}/bin)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${piglit_BINARY_DIR}/lib)
......
link_libraries(
piglitutil_${piglit_target_api}
${OPENGL_gles2_LIBRARY}
)
link_libraries(piglitutil_${piglit_target_api})
piglit_add_executable(glslparsertest_${piglit_target_api}
glslparsertest.c
......
......@@ -2,12 +2,7 @@ include_directories(
${GLEXT_INCLUDE_DIR}
${OPENGL_INCLUDE_PATH}
)
link_libraries (
piglitutil_${piglit_target_api}
${OPENGL_gles2_LIBRARY}
)
link_libraries(piglitutil_${piglit_target_api})
piglit_add_executable (arb_transform_feedback2-change-objects-while-paused_${piglit_target_api} change-objects-while-paused.c)
# vim: ft=cmake:
......@@ -2,12 +2,7 @@ include_directories(
${GLEXT_INCLUDE_DIR}
${OPENGL_INCLUDE_PATH}
)
link_libraries (
piglitutil_${piglit_target_api}
${OPENGL_gles2_LIBRARY}
)
link_libraries(piglitutil_${piglit_target_api})
piglit_add_executable (oes_packed_depth_stencil-depth-stencil-texture_${piglit_target_api} depth-stencil-texture.c)
# vim: ft=cmake:
link_libraries(
piglitutil_${piglit_target_api}
${OPENGL_gles2_LIBRARY}
)
link_libraries(piglitutil_${piglit_target_api})
piglit_add_executable (ext_texture_array-compressed_${piglit_target_api} compressed.c)
# vim: ft=cmake:
......@@ -6,7 +6,6 @@ include_directories(
link_libraries(
${EGL_LDFLAGS}
${OPENGL_gles2_LIBRARY}
piglitutil_gles2
)
......
link_libraries(
piglitutil_${piglit_target_api}
${OPENGL_gles2_LIBRARY}
)
link_libraries(piglitutil_${piglit_target_api})
piglit_add_executable (varying-struct-centroid_${piglit_target_api} varying-struct-centroid.c)
# vim: ft=cmake:
......@@ -5,7 +5,6 @@ include_directories(
link_libraries (
piglitutil_${piglit_target_api}
${OPENGL_gles2_LIBRARY}
${EGL_LDFLAGS}
)
......
......@@ -5,7 +5,6 @@ include_directories(
link_libraries (
piglitutil_${piglit_target_api}
${OPENGL_gles2_LIBRARY}
${EGL_LDFLAGS}
)
......
......@@ -2,10 +2,5 @@ include_directories(
${GLEXT_INCLUDE_DIR}
${OPENGL_INCLUDE_PATH}
)
link_libraries(
piglitutil_${piglit_target_api}
${OPENGL_gles2_LIBRARY}
)
link_libraries(piglitutil_${piglit_target_api})
piglit_add_executable(oes_compressed_etc1_rgb8_texture-miptree oes_compressed_etc1_rgb8_texture-miptree.c)
......@@ -15,7 +15,6 @@ include_directories(
link_libraries(
${UTIL_GL_LIBS}
${OPENGL_gles2_LIBRARY}
piglitutil_${piglit_target_api}
)
......
......@@ -14,7 +14,6 @@ include_directories(
link_libraries(
${UTIL_GL_LIBS}
${OPENGL_gles2_LIBRARY}
piglitutil_${piglit_target_api}
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment