We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 257a038 commit 4611206Copy full SHA for 4611206
CMakeLists.txt
@@ -229,8 +229,13 @@ if (WIN32)
229
endif()
230
231
232
- # Configure linker to only load from the system directory.
233
- set (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /DEPENDENTLOADFLAG:0x800")
+ if (QUIC_ENABLE_SANITIZERS)
+ message(STATUS "Allowing non-system32 DLLs to be loaded for ASAN")
234
+ else()
235
+ # Configure linker to only load from the system directory.
236
+ message(STATUS "Configuring linker to only load from the system directory")
237
+ set (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /DEPENDENTLOADFLAG:0x800")
238
+ endif()
239
240
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
241
list(APPEND QUIC_COMMON_FLAGS /MP)
0 commit comments