diff --git a/cmake/svs.cmake b/cmake/svs.cmake index ebd207be7..30d3dc0e9 100644 --- a/cmake/svs.cmake +++ b/cmake/svs.cmake @@ -88,6 +88,7 @@ if(USE_SVS) # This file is included from both CMakeLists.txt and python_bindings/CMakeLists.txt # Set `root` relative to this file, regardless of where it is included from. get_filename_component(root ${CMAKE_CURRENT_LIST_DIR}/.. ABSOLUTE) + set(SVS_EXPERIMENTAL_CHECK_BOUNDS OFF CACHE BOOL "Disable SVS bounds checking" FORCE) add_subdirectory( ${root}/deps/ScalableVectorSearch deps/ScalableVectorSearch