fix: add prometheus dependency for milvus_monitor (#35078)

add prometheus dependency for monitor module. Or else Some compilers may
report a compilation failure.
issue: #35077

Signed-off-by: xianliang.li <xianliang.li@zilliz.com>
This commit is contained in:
foxspy 2024-07-31 10:15:48 +08:00 committed by GitHub
parent f919b6e1b8
commit 48b14c56f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,4 +18,6 @@ set(MONITOR_SRC
add_library(milvus_monitor SHARED ${MONITOR_SRC})
target_link_libraries(milvus_monitor PUBLIC ${CONAN_LIBS})
install(TARGETS milvus_monitor DESTINATION "${CMAKE_INSTALL_LIBDIR}")