aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/recastnavigation/portfile.cmake
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/recastnavigation/portfile.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/recastnavigation/portfile.cmake')
-rw-r--r--vcpkg/ports/recastnavigation/portfile.cmake30
1 files changed, 30 insertions, 0 deletions
diff --git a/vcpkg/ports/recastnavigation/portfile.cmake b/vcpkg/ports/recastnavigation/portfile.cmake
new file mode 100644
index 0000000..e6f4a0d
--- /dev/null
+++ b/vcpkg/ports/recastnavigation/portfile.cmake
@@ -0,0 +1,30 @@
+vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO recastnavigation/recastnavigation
+ REF v${VERSION}
+ SHA512 7567aaa78219cc490a6f76210fba1f130f0c17aeaa06432ab1207e0fd03404abe31042e8b03971aa0d04ad65d39469f13575fe0072fb920c38581d39568b70fb
+ HEAD_REF master
+ PATCHES
+ fix-detail-mesh-edge-detection.patch #Upstream fix https://github.com/recastnavigation/recastnavigation/pull/657
+)
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DRECASTNAVIGATION_DEMO=OFF
+ -DRECASTNAVIGATION_TESTS=OFF
+ -DRECASTNAVIGATION_EXAMPLES=OFF
+
+)
+
+vcpkg_cmake_install()
+
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/recastnavigation)
+
+vcpkg_fixup_pkgconfig()
+
+vcpkg_copy_pdbs()
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/License.txt")