File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,13 +36,16 @@ if(WIN32 AND ITLABAI_SYCL_IMPLEMENTATION STREQUAL "IntelLLVM")
3636 "to point to the runtime import library" )
3737 endif ()
3838
39- set (CMAKE_CXX_LINK_EXECUTABLE
40- "python \" ${CMAKE_SOURCE_DIR } /scripts/ci/windows_sycl_link.py\" "
39+ string (CONCAT WINDOWS_SYCL_LINK_COMMAND
40+ "\" ${Python3_EXECUTABLE} \" "
41+ "\" ${CMAKE_SOURCE_DIR } /scripts/ci/windows_sycl_link.py\" "
4142 "--compiler \" ${CMAKE_CXX_COMPILER } \" "
4243 "--target <TARGET> "
4344 "--sycl-targets \" ${ITLABAI_SYCL_TARGETS} \" "
4445 "--objects <OBJECTS> "
45- "--libraries <LINK_LIBRARIES>" )
46+ "--libraries <LINK_LIBRARIES>"
47+ )
48+ set (CMAKE_CXX_LINK_EXECUTABLE "${WINDOWS_SYCL_LINK_COMMAND} " )
4649
4750 set (SYCL_EXAMPLE_KERNEL_OBJECT
4851 "${CMAKE_CURRENT_BINARY_DIR } /SYCL_Example.sycl_kernel.obj" )
You can’t perform that action at this time.
0 commit comments