Skip to content

Commit

Permalink
[Openmvg] single config build fixes (microsoft#42732)
Browse files Browse the repository at this point in the history
  • Loading branch information
Neumann-A authored Dec 16, 2024
1 parent c6ae212 commit fbbe5f6
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
6 changes: 4 additions & 2 deletions ports/openmvg/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,10 @@ vcpkg_cmake_install()

file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/share/openMVG/")
file(RENAME "${CURRENT_PACKAGES_DIR}/lib/openMVG/cmake" "${CURRENT_PACKAGES_DIR}/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")
if(NOT VCPKG_BUILD_TYPE)
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()

Expand Down
1 change: 1 addition & 0 deletions ports/openmvg/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "openmvg",
"version": "2.1",
"port-version": 1,
"description": "open Multiple View Geometry library. Basis for 3D computer vision and Structure from Motion.",
"license": "MPL-2.0-no-copyleft-exception",
"supports": "(x86 | x64 | arm64) & !xbox",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -6734,7 +6734,7 @@
},
"openmvg": {
"baseline": "2.1",
"port-version": 0
"port-version": 1
},
"openmvs": {
"baseline": "2.1.0",
Expand Down
5 changes: 5 additions & 0 deletions versions/o-/openmvg.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "004bc9d5fa217b3e1f94c62f850107d47ff7427b",
"version": "2.1",
"port-version": 1
},
{
"git-tree": "897ab1ecaccba02608f2a36ebc8072548aa6c395",
"version": "2.1",
Expand Down

0 comments on commit fbbe5f6

Please sign in to comment.