mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-05 05:18:52 +08:00
Update CMakeLists.txt
This commit is contained in:
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}
|
||||
set(unittest_libs
|
||||
sqlite
|
||||
libboost_system.a
|
||||
libboost_filesystem.a
|
||||
@ -117,9 +110,18 @@ set(unittest_libs ${unittest_libs}
|
||||
pthread
|
||||
metrics
|
||||
gfortran
|
||||
dl
|
||||
z
|
||||
)
|
||||
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
|
||||
)
|
||||
|
||||
if (MILVUS_GPU_VERSION)
|
||||
include_directories("${CUDA_INCLUDE_DIRS}")
|
||||
|
Loading…
Reference in New Issue
Block a user