mirror of https://github.com/milvus-io/milvus.git
Update CMakeLists.txt
parent
13cb3b8914
commit
8ae3a83948
|
@ -97,14 +97,7 @@ set(common_files
|
|||
${helper_files}
|
||||
)
|
||||
|
||||
if (MILVUS_WITH_PROMETHEUS)
|
||||
set(unittest_libs
|
||||
prometheus-cpp-push
|
||||
prometheus-cpp-pull
|
||||
prometheus-cpp-core
|
||||
)
|
||||
endif ()
|
||||
set(unittest_libs ${unittest_libs}
|
||||
sqlite
|
||||
libboost_system.a
|
||||
libboost_filesystem.a
|
||||
|
@ -117,6 +110,15 @@ set(unittest_libs ${unittest_libs}
|
|||
pthread
|
||||
metrics
|
||||
gfortran
|
||||
)
|
||||
if (MILVUS_WITH_PROMETHEUS)
|
||||
set(unittest_libs ${unittest_libs}
|
||||
prometheus-cpp-push
|
||||
prometheus-cpp-pull
|
||||
prometheus-cpp-core
|
||||
)
|
||||
endif ()
|
||||
set(unittest_libs ${unittest_libs}
|
||||
dl
|
||||
z
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue