From 839009ff26c65db7c014465f01c039a708a4132a Mon Sep 17 00:00:00 2001 From: JinHai-CN Date: Tue, 15 Oct 2019 20:51:30 +0800 Subject: [PATCH] Use system boost anymore Former-commit-id: 159bcdb3599fb72ddbd9b35b388ced78150deb03 --- core/cmake/DefineOptions.cmake | 2 +- core/src/CMakeLists.txt | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/cmake/DefineOptions.cmake b/core/cmake/DefineOptions.cmake index 1b0646c2..7aae177f 100644 --- a/core/cmake/DefineOptions.cmake +++ b/core/cmake/DefineOptions.cmake @@ -56,7 +56,7 @@ define_option(MILVUS_VERBOSE_THIRDPARTY_BUILD "Show output from ExternalProjects rather than just logging to files" ON) define_option(MILVUS_BOOST_VENDORED "Use vendored Boost instead of existing Boost. \ -Note that this requires linking Boost statically" ON) +Note that this requires linking Boost statically" OFF) define_option(MILVUS_BOOST_HEADER_ONLY "Use only BOOST headers" OFF) diff --git a/core/src/CMakeLists.txt b/core/src/CMakeLists.txt index 5f87d1d2..499800c6 100644 --- a/core/src/CMakeLists.txt +++ b/core/src/CMakeLists.txt @@ -96,9 +96,9 @@ set(prometheus_lib ) set(boost_lib - boost_system_static - boost_filesystem_static - boost_serialization_static + boost_system + boost_filesystem + boost_serialization ) set(cuda_lib -- GitLab