From 52faf41b970bc374fb634b1ece753d1545eee873 Mon Sep 17 00:00:00 2001 From: Vlad Romanov Date: Mon, 23 Sep 2019 19:05:51 +0300 Subject: [PATCH] [SYCL] Specify output file for ocl-icd external project. It's needed for ninja to correctly process dependencies. Signed-off-by: Vlad Romanov --- sycl/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/sycl/CMakeLists.txt b/sycl/CMakeLists.txt index 88697aab0a65b..6dae4f8be5d15 100644 --- a/sycl/CMakeLists.txt +++ b/sycl/CMakeLists.txt @@ -104,6 +104,7 @@ if( NOT OpenCL_LIBRARIES ) ${OPENCL_ICD_LOADER_WDK} STEP_TARGETS configure,build,install DEPENDS ocl-headers + BUILD_BYPRODUCTS ${OpenCL_LIBRARIES} ) else() file(GLOB ICD_LOADER_SRC "${OpenCL_LIBRARIES}*")