Fix: One-API build issue on windows.

Flags were not properly passed to the
compiler.
This commit is contained in:
Ray molenkamp 2022-10-07 09:16:29 -06:00
parent bf85074148
commit 1a5c57cdec
1 changed files with 1 additions and 1 deletions

View File

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