diff --git a/CMakeLists.txt b/CMakeLists.txt index 22e8b219dd88..41f1b1f48a9c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -364,7 +364,7 @@ if(PLUGIN_SYCL) set(CMAKE_CXX_LINK_EXECUTABLE "icpx -qopenmp -o ") set(CMAKE_CXX_CREATE_SHARED_LIBRARY - "icpx -qopenmp \ + "icpx -shared -qopenmp \ , \ -o ") endif()