Skip to content

Commit ef047d5

Browse files
authored
Fix sycl build
1 parent 3da5084 commit ef047d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ if(PLUGIN_SYCL)
348348
set(CMAKE_CXX_LINK_EXECUTABLE
349349
"icpx <FLAGS> <CMAKE_CXX_LINK_FLAGS> -qopenmp <LINK_FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES>")
350350
set(CMAKE_CXX_CREATE_SHARED_LIBRARY
351-
"icpx <CMAKE_SHARED_LIBRARY_CXX_FLAGS> -qopenmp <LANGUAGE_COMPILE_FLAGS> \
351+
"icpx -shared <CMAKE_SHARED_LIBRARY_CXX_FLAGS> -qopenmp <LANGUAGE_COMPILE_FLAGS> \
352352
<CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS> <SONAME_FLAG>,<TARGET_SONAME> \
353353
-o <TARGET> <OBJECTS> <LINK_LIBRARIES>")
354354
endif()

0 commit comments

Comments
 (0)