From 589988ee47599b5da6b361df6f7b3b85a05ad17d Mon Sep 17 00:00:00 2001 From: jatang Date: Thu, 16 Feb 2023 15:07:23 -0500 Subject: [PATCH] SWDEV-372613 - No need to link GLEW/GL for oclperf and oclruntime tests Change-Id: I0b9fe78f3fb6d93a4e7d0fe66ea279291716f30e --- opencl/tests/ocltst/module/perf/CMakeLists.txt | 7 ------- opencl/tests/ocltst/module/runtime/CMakeLists.txt | 7 ------- opencl/tests/ocltst/module/runtime/OCLRTQueue.cpp | 0 3 files changed, 14 deletions(-) mode change 100755 => 100644 opencl/tests/ocltst/module/runtime/OCLRTQueue.cpp diff --git a/opencl/tests/ocltst/module/perf/CMakeLists.txt b/opencl/tests/ocltst/module/perf/CMakeLists.txt index f017d089e3..dd4c163271 100644 --- a/opencl/tests/ocltst/module/perf/CMakeLists.txt +++ b/opencl/tests/ocltst/module/perf/CMakeLists.txt @@ -105,13 +105,6 @@ target_link_libraries(oclperf PRIVATE OpenCL) -if(OPENGL_FOUND AND GLEW_FOUND) - target_link_libraries(oclperf - PRIVATE - ${GLEW_LIBRARIES} - ${OPENGL_LIBRARIES}) -endif() - add_custom_command( TARGET oclperf POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy diff --git a/opencl/tests/ocltst/module/runtime/CMakeLists.txt b/opencl/tests/ocltst/module/runtime/CMakeLists.txt index 087bb24e14..3314430421 100644 --- a/opencl/tests/ocltst/module/runtime/CMakeLists.txt +++ b/opencl/tests/ocltst/module/runtime/CMakeLists.txt @@ -72,13 +72,6 @@ target_link_libraries(oclruntime PRIVATE OpenCL) -if(OPENGL_FOUND AND GLEW_FOUND) - target_link_libraries(oclruntime - PRIVATE - ${GLEW_LIBRARIES} - ${OPENGL_LIBRARIES}) -endif() - add_custom_command( TARGET oclruntime POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy diff --git a/opencl/tests/ocltst/module/runtime/OCLRTQueue.cpp b/opencl/tests/ocltst/module/runtime/OCLRTQueue.cpp old mode 100755 new mode 100644