Update CMakeLists.txt

This commit is contained in:
Zhiru Zhu 2019-11-14 21:12:51 +08:00 committed by GitHub
parent 13cb3b8914
commit 8ae3a83948
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}")