File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -295,17 +295,17 @@ function(add_umf_target_link_options name)
295295 target_link_options (
296296 ${name}
297297 PRIVATE
298- /DYNAMICBASE
299- /HIGHENTROPYVA
298+ LINKER: /DYNAMICBASE
299+ LINKER: /HIGHENTROPYVA
300300 $<$<C_COMPILER_ID:MSVC >:/DEPENDENTLOADFLAG:0x2000>
301301 $<$<CXX_COMPILER_ID:MSVC >:/DEPENDENTLOADFLAG:0x2000>
302- /NXCOMPAT)
302+ LINKER: /NXCOMPAT)
303303 endif ()
304304endfunction ()
305305
306306function (add_umf_target_exec_options name )
307307 if (MSVC )
308- target_link_options (${name} PRIVATE /ALLOWISOLATION)
308+ target_link_options (${name} PRIVATE LINKER: /ALLOWISOLATION)
309309 endif ()
310310endfunction ()
311311
@@ -362,7 +362,7 @@ function(add_umf_library)
362362
363363 if (WINDOWS)
364364 target_link_options (${ARG_NAME} PRIVATE
365- /DEF:${ARG_WINDOWS_DEF_FILE} )
365+ LINKER: /DEF:${ARG_WINDOWS_DEF_FILE} )
366366 elseif (LINUX)
367367 target_link_options (${ARG_NAME} PRIVATE
368368 "-Wl,--version-script=${ARG_LINUX_MAP_FILE} " )
You can’t perform that action at this time.
0 commit comments