aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/usearch/use-vcpkg-ports.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/usearch/use-vcpkg-ports.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/usearch/use-vcpkg-ports.patch')
-rw-r--r--vcpkg/ports/usearch/use-vcpkg-ports.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/vcpkg/ports/usearch/use-vcpkg-ports.patch b/vcpkg/ports/usearch/use-vcpkg-ports.patch
new file mode 100644
index 0000000..b805ebc
--- /dev/null
+++ b/vcpkg/ports/usearch/use-vcpkg-ports.patch
@@ -0,0 +1,33 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 1f6b036..abfca67 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -149,18 +149,6 @@ target_include_directories(
+ ${USEARCH_TARGET_NAME} ${USEARCH_SYSTEM_INCLUDE} INTERFACE $<BUILD_INTERFACE:${USEARCH_INCLUDE_BUILD_DIR}>
+ $<INSTALL_INTERFACE:include>
+ )
+-if (USEARCH_USE_FP16LIB)
+- target_include_directories(
+- ${USEARCH_TARGET_NAME} ${USEARCH_SYSTEM_INCLUDE} INTERFACE $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/fp16/include>
+- $<INSTALL_INTERFACE:fp16/include>
+- )
+-endif ()
+-if (USEARCH_USE_SIMSIMD)
+- target_include_directories(
+- ${USEARCH_TARGET_NAME} ${USEARCH_SYSTEM_INCLUDE}
+- INTERFACE $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/simsimd/include> $<INSTALL_INTERFACE:simsimd/include>
+- )
+-endif ()
+
+ # Install a pkg-config file, so other tools can find this
+ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/cmake/pkg-config.pc.in" "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc")
+@@ -220,8 +208,7 @@ if (NOT CMAKE_BUILD_TYPE)
+ endif ()
+
+ # Include directories
+-set(USEARCH_HEADER_INCLUDES "${CMAKE_CURRENT_SOURCE_DIR}/include" "${CMAKE_CURRENT_SOURCE_DIR}/fp16/include"
+- "${CMAKE_CURRENT_SOURCE_DIR}/simsimd/include"
++set(USEARCH_HEADER_INCLUDES "${CMAKE_CURRENT_SOURCE_DIR}/include"
+ )
+
+ # Function to setup target