diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-08-24 16:39:52 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-08-24 16:39:52 +0300 |
commit | 61896947d4b75829d4275043e1554bd5eb4d8abb (patch) | |
tree | 77e0404335aaece7f195f45238419a09fc0dd508 /intern/cycles/kernel | |
parent | be0a68f0d10af97a22972d4d415076aef3b45b57 (diff) | |
parent | e65f0337e94242baf868aa2cd90a0b489e38b087 (diff) |
Merge branch 'blender-v3.3-release'
Diffstat (limited to 'intern/cycles/kernel')
-rw-r--r-- | intern/cycles/kernel/CMakeLists.txt | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/intern/cycles/kernel/CMakeLists.txt b/intern/cycles/kernel/CMakeLists.txt index c7dcc928c0d..f32a810786d 100644 --- a/intern/cycles/kernel/CMakeLists.txt +++ b/intern/cycles/kernel/CMakeLists.txt @@ -786,14 +786,6 @@ if(WITH_CYCLES_DEVICE_ONEAPI) get_filename_component(sycl_compiler_root ${SYCL_COMPILER} DIRECTORY) get_filename_component(sycl_compiler_compiler_name ${SYCL_COMPILER} NAME_WE) - if(NOT OCLOC_INSTALL_DIR) - get_filename_component(OCLOC_INSTALL_DIR "${sycl_compiler_root}/../lib/ocloc" ABSOLUTE) - endif() - if(WITH_CYCLES_ONEAPI_BINARIES AND NOT EXISTS ${OCLOC_INSTALL_DIR}) - message(FATAL_ERROR "WITH_CYCLES_ONEAPI_BINARIES requires ocloc but ${OCLOC_INSTALL_DIR} directory doesn't exist." - " A different ocloc directory can be set using OCLOC_INSTALL_DIR cmake variable.") - endif() - if(UNIX AND NOT APPLE) if(NOT WITH_CXX11_ABI) check_library_exists(sycl |