File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ if(WIN32)
23
23
set (CMAKE_CXX_FLAGS_DEBUG
24
24
"${CMAKE_CXX_FLAGS_DEBUG} ${WARNING_FLAGS} -O0 -g1 -DDEBUG"
25
25
)
26
- set (DPCTL_LDFLAGS "/link / NXCompat /DynamicBase" )
26
+ set (DPCTL_LDFLAGS "/NXCompat; /DynamicBase" )
27
27
elseif (UNIX )
28
28
string (CONCAT WARNING_FLAGS
29
29
"-Wall "
@@ -140,7 +140,8 @@ function(build_dpctl_ext _trgt _src _dest)
140
140
target_compile_options (${_trgt} PRIVATE -fno-sycl-use-footer )
141
141
endif ()
142
142
target_link_libraries (${_trgt} DPCTLSyclInterface )
143
- target_link_options (${_trgt} PRIVATE "LINKER:${DPCTL_LDFLAGS} " )
143
+ set (_linker_options "LINKER:${DPCTL_LDFLAGS} " )
144
+ target_link_options (${_trgt} PRIVATE ${_linker_options} )
144
145
python_extension_module (${_trgt} )
145
146
get_filename_component (_name_wle ${_generated_src} NAME_WLE )
146
147
get_filename_component (_generated_src_dir ${_generated_src} DIRECTORY )
You can’t perform that action at this time.
0 commit comments