mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
CMakeLists.txt: re-enable ZINT_SANITIZE for MSVC, though warning issues + works?
This commit is contained in:
parent
7a1500afeb
commit
58420f3dde
@ -62,7 +62,7 @@ if(ZINT_TEST)
|
||||
endif()
|
||||
|
||||
set(SANITIZER_FLAGS "")
|
||||
if(ZINT_SANITIZE AND NOT MSVC)
|
||||
if(ZINT_SANITIZE)
|
||||
file(WRITE ${CMAKE_BINARY_DIR}/dummy.c "int main() { return 0; }")
|
||||
set(SANITIZERS address leak undefined) #address hwaddress leak memory thread undefined
|
||||
foreach(sanitizer IN ITEMS ${SANITIZERS})
|
||||
|
Loading…
Reference in New Issue
Block a user