We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 167ddf9 + a472f45 commit 467351cCopy full SHA for 467351c
cmake/helpers.cmake
@@ -131,6 +131,11 @@ function(add_ur_library name)
131
add_library(${name} ${ARGN})
132
add_ur_target_compile_options(${name})
133
add_ur_target_link_options(${name})
134
+ if(MSVC)
135
+ target_link_options(${name} PRIVATE
136
+ $<$<STREQUAL:$<TARGET_LINKER_FILE_NAME:${name}>,link.exe>:/DEPENDENTLOADFLAG:0x2000>
137
+ )
138
+ endif()
139
endfunction()
140
141
include(FetchContent)
0 commit comments