Commit 4d6a9094 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Fix ASAN on clang-cl

parent 4513e73e
...@@ -107,7 +107,8 @@ IF(MSVC) ...@@ -107,7 +107,8 @@ IF(MSVC)
SET(DYNAMIC_UCRT_LINKER_OPTION " /NODEFAULTLIB:libucrt.lib /DEFAULTLIB:ucrt.lib") SET(DYNAMIC_UCRT_LINKER_OPTION " /NODEFAULTLIB:libucrt.lib /DEFAULTLIB:ucrt.lib")
IF(WITH_ASAN) IF(WITH_ASAN)
SET(MSVC_CRT_TYPE /MD CACHE STRING FORCE) # Workaround something Linux specific
SET(SECURITY_HARDENED 0 CACHE INTERNAL "" FORCE)
ENABLE_ASAN() ENABLE_ASAN()
ENDIF() ENDIF()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment