Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Molenkamp <github@lazydodo.com>2022-10-07 18:16:29 +0300
committerRay Molenkamp <github@lazydodo.com>2022-10-07 18:16:29 +0300
commit1a5c57cdece52c237d59a4750276c7a6dbd0b737 (patch)
tree008b563794fd9b9e7d0f1cf00f4a993dffcf4eb4
parentbf8507414889d581377228299c6ab560a627b237 (diff)
Fix: One-API build issue on windows.
Flags were not properly passed to the compiler.
-rw-r--r--intern/cycles/kernel/CMakeLists.txt2
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}>"