File tree 1 file changed +2
-5
lines changed
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -147,8 +147,7 @@ if(WITH_LIGHT)
147
147
src/index/sparse/*.cc
148
148
src/io/*.cc
149
149
src/index/index_factory.cc)
150
- knowhere_file_glob(GLOB_RECURSE KNOWHERE_TRACER_SRCS src/common/tracer.cc
151
- src/common/prometheus_client.cc)
150
+ knowhere_file_glob(GLOB_RECURSE KNOWHERE_TRACER_SRCS src/common/tracer.cc)
152
151
list (REMOVE_ITEM KNOWHERE_SRCS ${KNOWHERE_TRACER_SRCS} )
153
152
endif ()
154
153
@@ -184,9 +183,7 @@ list(APPEND KNOWHERE_LINKER_LIBS Boost::boost)
184
183
list (APPEND KNOWHERE_LINKER_LIBS faiss)
185
184
list (APPEND KNOWHERE_LINKER_LIBS glog::glog)
186
185
list (APPEND KNOWHERE_LINKER_LIBS nlohmann_json::nlohmann_json)
187
- if (NOT WITH_LIGHT)
188
- list (APPEND KNOWHERE_LINKER_LIBS prometheus-cpp::core prometheus-cpp::push)
189
- endif ()
186
+ list (APPEND KNOWHERE_LINKER_LIBS prometheus-cpp::core prometheus-cpp::push)
190
187
list (APPEND KNOWHERE_LINKER_LIBS fmt::fmt-header-only)
191
188
list (APPEND KNOWHERE_LINKER_LIBS Folly::folly)
192
189
if (NOT WITH_LIGHT)
You can’t perform that action at this time.
0 commit comments