mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 01:30:55 +08:00
[poselib] add new port (#41468)
This commit is contained in:
parent
f0570dc411
commit
80ba3e5f55
25
ports/poselib/portfile.cmake
Normal file
25
ports/poselib/portfile.cmake
Normal file
@ -0,0 +1,25 @@
|
||||
if(VCPKG_TARGET_IS_WINDOWS)
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
endif()
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO PoseLib/PoseLib
|
||||
REF "v${VERSION}"
|
||||
SHA512 adc43c4f0fd8544d2c7ef05538696a8ae614837f5e90c31b8b9c8f4b5a11eb773229c22444e01482de697a0f5b3137d4a63a24ba9fcc72b366a347252d3c16b1
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
OPTIONS
|
||||
-DMARCH_NATIVE=OFF
|
||||
-DWITH_BENCHMARK=OFF
|
||||
-DPYTHON_PACKAGE=OFF
|
||||
)
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_copy_pdbs()
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/PoseLib)
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
18
ports/poselib/vcpkg.json
Normal file
18
ports/poselib/vcpkg.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "poselib",
|
||||
"version": "2.0.4",
|
||||
"description": "Minimal solvers for calibrated camera pose estimation",
|
||||
"homepage": "https://github.com/PoseLib/PoseLib",
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": [
|
||||
"eigen3",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
@ -7124,6 +7124,10 @@
|
||||
"baseline": "239",
|
||||
"port-version": 0
|
||||
},
|
||||
"poselib": {
|
||||
"baseline": "2.0.4",
|
||||
"port-version": 0
|
||||
},
|
||||
"ppconsul": {
|
||||
"baseline": "0.5",
|
||||
"port-version": 5
|
||||
|
9
versions/p-/poselib.json
Normal file
9
versions/p-/poselib.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "adf31292beb503a1ff13f6ecffd2697c0f56bbe2",
|
||||
"version": "2.0.4",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user