enhance: add pkg-config for knowhere (#35433)

Signed-off-by: yusheng.ma <yusheng.ma@zilliz.com>
This commit is contained in:
presburger 2024-08-22 09:56:56 +08:00 committed by GitHub
parent 6fa6e2f978
commit 024eccbde0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View File

@ -12,6 +12,7 @@
#-------------------------------------------------------------------------------
# Update KNOWHERE_VERSION for the first occurrence
milvus_add_pkg_config("knowhere")
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY INCLUDE_DIRECTORIES "")
set( KNOWHERE_VERSION 8c1c3b50 )
set( GIT_REPOSITORY "https://github.com/zilliztech/knowhere.git")

View File

@ -0,0 +1,7 @@
libdir=@CMAKE_INSTALL_FULL_LIBDIR@
Name: Knowhere
Description: an independent project that act as Milvus's internal core.
Version: @MILVUS_VERSION@
Libs: -L${libdir} -lknowhere