Skip to content

Commit

Permalink
[openmvs] add arm support (#33101)
Browse files Browse the repository at this point in the history
  • Loading branch information
autoantwort committed Aug 24, 2023
1 parent 4dd8525 commit f8c8cf6
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
7 changes: 7 additions & 0 deletions ports/openmvs/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ file(REMOVE "${SOURCE_PATH}/build/Modules/FindCERES.cmake")
file(REMOVE "${SOURCE_PATH}/build/Modules/FindCGAL.cmake")
file(REMOVE "${SOURCE_PATH}/build/Modules/FindEIGEN.cmake")

if(VCPKG_TARGET_ARCHITECTURE STREQUAL "x86" OR VCPKG_TARGET_ARCHITECTURE STREQUAL "x64")
set(USE_SSE ON)
else()
set(USE_SSE OFF)
endif()

vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}
OPTIONS ${FEATURE_OPTIONS}
Expand All @@ -33,6 +39,7 @@ vcpkg_cmake_configure(
-DOpenMVS_USE_OPENGL=ON
-DOpenMVS_USE_BREAKPAD=OFF
-DOpenMVS_ENABLE_TESTS=OFF
-DOpenMVS_USE_SSE=${USE_SSE}
OPTIONS_RELEASE
-DOpenMVS_BUILD_TOOLS=ON
OPTIONS_DEBUG
Expand Down
2 changes: 1 addition & 1 deletion ports/openmvs/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "openmvs",
"version": "2.1.0",
"port-version": 1,
"port-version": 2,
"description": "OpenMVS: open Multi-View Stereo reconstruction library",
"homepage": "https://cdcseacave.github.io/openMVS",
"license": "AGPL-3.0-only",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -6078,7 +6078,7 @@
},
"openmvs": {
"baseline": "2.1.0",
"port-version": 1
"port-version": 2
},
"openni2": {
"baseline": "2.2.0.33",
Expand Down
5 changes: 5 additions & 0 deletions versions/o-/openmvs.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "8779bcf1acd942b029c79791b2335b252e151f20",
"version": "2.1.0",
"port-version": 2
},
{
"git-tree": "93c2bb0fd968757d60afa8ce2de0d456a3ae5cc0",
"version": "2.1.0",
Expand Down

0 comments on commit f8c8cf6

Please sign in to comment.