diff --git a/sycl/plugins/unified_runtime/CMakeLists.txt b/sycl/plugins/unified_runtime/CMakeLists.txt index 1465d98fb7c58..f29c7fff17a04 100644 --- a/sycl/plugins/unified_runtime/CMakeLists.txt +++ b/sycl/plugins/unified_runtime/CMakeLists.txt @@ -30,7 +30,8 @@ if("hip" IN_LIST SYCL_ENABLE_PLUGINS) endif() if("opencl" IN_LIST SYCL_ENABLE_PLUGINS) set(UR_BUILD_ADAPTER_OPENCL ON) - set(UR_OPENCL_ICD_LOADER_LIBRARY OpenCL-ICD) + set(UR_OPENCL_ICD_LOADER_LIBRARY OpenCL-ICD CACHE FILEPATH + "Path of the OpenCL ICD Loader library" FORCE) endif() if("native_cpu" IN_LIST SYCL_ENABLE_PLUGINS) set(UR_BUILD_ADAPTER_NATIVE_CPU ON)