1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
From: Francis Murtagh <francis.murtagh@arm.com>
Date: Tue, 1 Aug 2023 21:39:26 +0200
Subject: Unset OPENCL_LIBRARIES so it doesn't get linked at build time
X-Dgit-Generated: 20.08-1 4b4c9e7a80b63a12b4009e637aef11580d803ca3
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
---
cmake/GlobalConfig.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmake/GlobalConfig.cmake b/cmake/GlobalConfig.cmake
index 446dc3b..46245d1 100644
--- a/cmake/GlobalConfig.cmake
+++ b/cmake/GlobalConfig.cmake
@@ -386,7 +386,7 @@ if(ARMCOMPUTECL)
# Link against libOpenCL in opencl-1.2-stubs, but don't search there at runtime
link_libraries(-L${ARMCOMPUTE_BUILD_DIR}/opencl-1.2-stubs)
- set(OPENCL_LIBRARIES OpenCL)
+ #set(OPENCL_LIBRARIES OpenCL)
include_directories(SYSTEM ${OPENCL_INCLUDE})
|