diff options
author | Ray Molenkamp <github@lazydodo.com> | 2022-10-07 18:16:29 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2022-10-07 18:16:29 +0300 |
commit | 1a5c57cdece52c237d59a4750276c7a6dbd0b737 (patch) | |
tree | 008b563794fd9b9e7d0f1cf00f4a993dffcf4eb4 /intern | |
parent | bf8507414889d581377228299c6ab560a627b237 (diff) |
Fix: One-API build issue on windows.
Flags were not properly passed to the
compiler.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/kernel/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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} - "$<$<CONFIG:Release>:${sycl_compiler_flags_Releas}>" + "$<$<CONFIG:Release>:${sycl_compiler_flags_Release}>" "$<$<CONFIG:RelWithDebInfo>:${sycl_compiler_flags_RelWithDebInfo}>" "$<$<CONFIG:Debug>:${sycl_compiler_flags_Debug}>" "$<$<CONFIG:MinSizeRel>:${sycl_compiler_flags_Release}>" |