Skip to content

Commit 8f17116

Browse files
committed
Bumped version for new release and dependencies, minor docfix.
1 parent a80fc93 commit 8f17116

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.24)
22

33
project(knncolle_annoy
4-
VERSION 0.2.1
4+
VERSION 0.3.0
55
DESCRIPTION "knncolle bindings for Annoy"
66
LANGUAGES CXX)
77

@@ -22,8 +22,8 @@ option(KNNCOLLE_ANNOY_FETCH_EXTERN "Automatically fetch knncolle_annoy's externa
2222
if(KNNCOLLE_ANNOY_FETCH_EXTERN)
2323
add_subdirectory(extern)
2424
else()
25-
find_package(knncolle_knncolle 3.0.0 CONFIG REQUIRED)
26-
find_package(ltla_sanisizer 0.1.0 CONFIG REQUIRED)
25+
find_package(knncolle_knncolle 3.1.0 CONFIG REQUIRED)
26+
find_package(ltla_sanisizer 0.1.5 CONFIG REQUIRED)
2727
find_package(Annoy CONFIG REQUIRED)
2828
endif()
2929

cmake/Config.cmake.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
@PACKAGE_INIT@
22

33
include(CMakeFindDependencyMacro)
4-
find_dependency(knncolle_knncolle 3.0.0 CONFIG REQUIRED)
5-
find_dependency(ltla_sanisizer 0.1.0 CONFIG REQUIRED)
4+
find_dependency(knncolle_knncolle 3.1.0 CONFIG REQUIRED)
5+
find_dependency(ltla_sanisizer 0.1.5 CONFIG REQUIRED)
66
find_dependency(Annoy CONFIG REQUIRED)
77

88
include("${CMAKE_CURRENT_LIST_DIR}/knncolle_knncolle_annoyTargets.cmake")

extern/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ include(FetchContent)
33
FetchContent_Declare(
44
knncolle
55
GIT_REPOSITORY https://github.com/knncolle/knncolle
6-
GIT_TAG master # ^3.0.0
6+
GIT_TAG master # ^3.1.0
77
)
88

99
FetchContent_Declare(
1010
sanisizer
1111
GIT_REPOSITORY https://github.com/LTLA/sanisizer
12-
GIT_TAG master # ^0.1.0
12+
GIT_TAG master # ^0.1.5
1313
)
1414

1515

include/knncolle_annoy/utils.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ struct has_name<AnnoyDistance_, decltype(AnnoyDistance_::name(), 0)> {
4242
* @return Name of the distance metric, e.g., `"euclidean"`, `"manhattan"`.
4343
* This is taken from `AnnoyDistance_::name()` if such a method exists, otherwise `"unknown"` is returned.
4444
*
45-
* For unknown distances, consider using `customize_save_for_annoy_types()` to add more information to the on-disk representation during a `knncolle::Prebuilt::save()` call.
45+
* For unknown distances, consider using `custom_save_for_annoy_distance()` to add more information to the on-disk representation during a `knncolle::Prebuilt::save()` call.
4646
*/
4747
template<typename AnnoyDistance_>
4848
const char* get_distance_name() {

0 commit comments

Comments
 (0)