[Openmvg] single config build fixes (#42732)

This commit is contained in:
Alexander Neumann 2024-12-16 16:15:41 +01:00 committed by GitHub
parent c6ae21229c
commit fbbe5f6005
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 11 additions and 3 deletions

View File

@ -78,8 +78,10 @@ vcpkg_cmake_install()
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/share/openMVG/") file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/share/openMVG/")
file(RENAME "${CURRENT_PACKAGES_DIR}/lib/openMVG/cmake" "${CURRENT_PACKAGES_DIR}/share/openMVG/cmake") file(RENAME "${CURRENT_PACKAGES_DIR}/lib/openMVG/cmake" "${CURRENT_PACKAGES_DIR}/share/openMVG/cmake")
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/debug/share/openMVG/") if(NOT VCPKG_BUILD_TYPE)
file(RENAME "${CURRENT_PACKAGES_DIR}/debug/lib/openMVG/cmake" "${CURRENT_PACKAGES_DIR}/debug/share/openMVG/cmake") file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/debug/share/openMVG/")
file(RENAME "${CURRENT_PACKAGES_DIR}/debug/lib/openMVG/cmake" "${CURRENT_PACKAGES_DIR}/debug/share/openMVG/cmake")
endif()
vcpkg_cmake_config_fixup() vcpkg_cmake_config_fixup()

View File

@ -1,6 +1,7 @@
{ {
"name": "openmvg", "name": "openmvg",
"version": "2.1", "version": "2.1",
"port-version": 1,
"description": "open Multiple View Geometry library. Basis for 3D computer vision and Structure from Motion.", "description": "open Multiple View Geometry library. Basis for 3D computer vision and Structure from Motion.",
"license": "MPL-2.0-no-copyleft-exception", "license": "MPL-2.0-no-copyleft-exception",
"supports": "(x86 | x64 | arm64) & !xbox", "supports": "(x86 | x64 | arm64) & !xbox",

View File

@ -6734,7 +6734,7 @@
}, },
"openmvg": { "openmvg": {
"baseline": "2.1", "baseline": "2.1",
"port-version": 0 "port-version": 1
}, },
"openmvs": { "openmvs": {
"baseline": "2.1.0", "baseline": "2.1.0",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "004bc9d5fa217b3e1f94c62f850107d47ff7427b",
"version": "2.1",
"port-version": 1
},
{ {
"git-tree": "897ab1ecaccba02608f2a36ebc8072548aa6c395", "git-tree": "897ab1ecaccba02608f2a36ebc8072548aa6c395",
"version": "2.1", "version": "2.1",