From 1a5c57cdece52c237d59a4750276c7a6dbd0b737 Mon Sep 17 00:00:00 2001 From: Ray Molenkamp Date: Fri, 7 Oct 2022 09:16:29 -0600 Subject: Fix: One-API build issue on windows. Flags were not properly passed to the compiler. --- intern/cycles/kernel/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intern/cycles/kernel/CMakeLists.txt b/intern/cycles/kernel/CMakeLists.txt index d678351e69b..8f50c7586b8 100644 --- a/intern/cycles/kernel/CMakeLists.txt +++ b/intern/cycles/kernel/CMakeLists.txt @@ -856,7 +856,7 @@ if(WITH_CYCLES_DEVICE_ONEAPI) "LIB=${sycl_compiler_root}/../lib" # for compiler to find sycl.lib "PATH=${OCLOC_INSTALL_DIR}\;${sycl_compiler_root}" ${SYCL_COMPILER} - "$<$:${sycl_compiler_flags_Releas}>" + "$<$:${sycl_compiler_flags_Release}>" "$<$:${sycl_compiler_flags_RelWithDebInfo}>" "$<$:${sycl_compiler_flags_Debug}>" "$<$:${sycl_compiler_flags_Release}>" -- cgit v1.2.3