diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/sophus | |
Diffstat (limited to 'vcpkg/ports/sophus')
| -rw-r--r-- | vcpkg/ports/sophus/portfile.cmake | 22 | ||||
| -rw-r--r-- | vcpkg/ports/sophus/vcpkg.json | 18 |
2 files changed, 40 insertions, 0 deletions
diff --git a/vcpkg/ports/sophus/portfile.cmake b/vcpkg/ports/sophus/portfile.cmake new file mode 100644 index 0000000..2f05e41 --- /dev/null +++ b/vcpkg/ports/sophus/portfile.cmake @@ -0,0 +1,22 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO strasdat/Sophus + REF 1.24.6-rc1 + SHA512 c1ba40b823cabce3fe83f528837ac111f4d746d6679fb920abd7be32de149c0937bb9a5049da156aec28a9b9fedbebae76a056de12707c01c5cb40dc9197c3e4 + HEAD_REF main +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + -DBUILD_SOPHUS_TESTS=OFF +) + +vcpkg_cmake_install() +vcpkg_cmake_config_fixup(CONFIG_PATH share/sophus/cmake) + +vcpkg_copy_pdbs() + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug") + +file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/vcpkg/ports/sophus/vcpkg.json b/vcpkg/ports/sophus/vcpkg.json new file mode 100644 index 0000000..4a42b5f --- /dev/null +++ b/vcpkg/ports/sophus/vcpkg.json @@ -0,0 +1,18 @@ +{ + "name": "sophus", + "version": "1.24.6-r1", + "description": "Lie group library for C++", + "homepage": "https://github.com/strasdat/Sophus", + "license": "MIT", + "dependencies": [ + "eigen3", + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |