File systemlibs-in-cmake.patch of Package milvus
From 2a33cbca0089c5ca24ebbb936da2396efc7e138c Mon Sep 17 00:00:00 2001
From: Christian Goll <cgoll@suse.com>
Date: Fri, 24 Jan 2025 11:35:30 +0100
Subject: [PATCH] systemlibs in cmake
Signed-off-by: Christian Goll <cgoll@suse.com>
---
internal/core/CMakeLists.txt | 1 +
internal/core/thirdparty/CMakeLists.txt | 7 +------
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/internal/core/CMakeLists.txt b/internal/core/CMakeLists.txt
index 81fe350b..c1efca64 100644
--- a/internal/core/CMakeLists.txt
+++ b/internal/core/CMakeLists.txt
@@ -15,6 +15,7 @@
# limitations under the License.
cmake_minimum_required( VERSION 3.18 )
+include(FindPkgConfig)
if ( APPLE )
set( CMAKE_CROSSCOMPILING TRUE )
diff --git a/internal/core/thirdparty/CMakeLists.txt b/internal/core/thirdparty/CMakeLists.txt
index 5fe44881..4b3d1646 100644
--- a/internal/core/thirdparty/CMakeLists.txt
+++ b/internal/core/thirdparty/CMakeLists.txt
@@ -33,15 +33,10 @@ find_package(Threads REQUIRED)
add_subdirectory(knowhere)
add_subdirectory(boost_ext)
-add_subdirectory(rocksdb)
-add_subdirectory(rdkafka)
-add_subdirectory(simdjson)
if (USE_OPENDAL)
add_subdirectory(opendal)
endif()
add_subdirectory(tantivy)
-if (LINUX)
- add_subdirectory(jemalloc)
-endif()
+pkg_check_modules(jemalloc REQUIRED)
--
2.43.0