Commit: 1a5c57cdece52c237d59a4750276c7a6dbd0b737
Author: Ray Molenkamp
Date:   Fri Oct 7 09:16:29 2022 -0600
Branches: master
https://developer.blender.org/rB1a5c57cdece52c237d59a4750276c7a6dbd0b737

Fix: One-API build issue on windows.

Flags were not properly passed to the
compiler.

===================================================================

M       intern/cycles/kernel/CMakeLists.txt

===================================================================

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}>"

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to