Enable UBsan

This commit is contained in:
Filatenkov Artur 2022-08-31 16:44:52 +03:00 committed by GitHub
parent 9a231cf49a
commit 899a2e29df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
option(ENABLE_ANNOY "Enable Annoy index support" ${ENABLE_LIBRARIES})
if ((NOT ENABLE_ANNOY) OR (SANITIZE STREQUAL "undefined"))
if (NOT ENABLE_ANNOY)
message (STATUS "Not using annoy")
return()
endif()