Skip to content

Commit fae4b66

Browse files
committed
add HAVE_SVS guard
1 parent c2ba07a commit fae4b66

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/unit/test_common.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@
1818
#include "VecSim/algorithms/hnsw/hnsw.h"
1919
#include "VecSim/algorithms/hnsw/hnsw_tiered.h"
2020
#include "VecSim/index_factories/hnsw_factory.h"
21+
#if HAVE_SVS
2122
#include "VecSim/index_factories/svs_factory.h"
2223
#include "VecSim/algorithms/svs/svs.h"
24+
#endif
2325
#include "mock_thread_pool.h"
2426
#include "tests_utils.h"
2527
#include "VecSim/index_factories/tiered_factory.h"

0 commit comments

Comments
 (0)