From 8e03df9bbc22baaf9d538e01c44f6857a8c9b43a Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 13 Sep 2022 10:55:36 +0200 Subject: Fix oneAPI compilation on modern Linux and CentOS 7 libraries --- intern/cycles/kernel/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intern') diff --git a/intern/cycles/kernel/CMakeLists.txt b/intern/cycles/kernel/CMakeLists.txt index 6d84357b699..aa31335393f 100644 --- a/intern/cycles/kernel/CMakeLists.txt +++ b/intern/cycles/kernel/CMakeLists.txt @@ -793,7 +793,7 @@ if(WITH_CYCLES_DEVICE_ONEAPI) if(UNIX AND NOT APPLE) if(NOT WITH_CXX11_ABI) check_library_exists(sycl - _ZN2cl4sycl7handler22verifyUsedKernelBundleERKSs ${sycl_compiler_root}/../lib SYCL_NO_CXX11_ABI) + _ZN4sycl3_V17handler22verifyUsedKernelBundleERKSs ${sycl_compiler_root}/../lib SYCL_NO_CXX11_ABI) if(SYCL_NO_CXX11_ABI) list(APPEND sycl_compiler_flags -D_GLIBCXX_USE_CXX11_ABI=0) endif() -- cgit v1.2.3