From 4d00a8699e1889b01e4194f5deb311462b2f0454 Mon Sep 17 00:00:00 2001 From: Tom Lin Date: Thu, 27 May 2021 09:41:41 +0100 Subject: [PATCH] Don't point to the CL dir for SYCL --- src/sycl/model.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sycl/model.cmake b/src/sycl/model.cmake index c35f435..c0c6c3f 100644 --- a/src/sycl/model.cmake +++ b/src/sycl/model.cmake @@ -48,7 +48,7 @@ macro(setup) set(ComputeCpp_DIR ${SYCL_COMPILER_DIR}) # don't point to the CL dir as the imports already have the CL prefix - set(OpenCL_INCLUDE_DIR "${CMAKE_SOURCE_DIR}/CL") + set(OpenCL_INCLUDE_DIR "${CMAKE_SOURCE_DIR}") register_definitions(CL_TARGET_OPENCL_VERSION=220 _GLIBCXX_USE_CXX11_ABI=0) # ComputeCpp needs OpenCL