diff --git a/ports/openmvs/portfile.cmake b/ports/openmvs/portfile.cmake index 5f7f39ce2f..aacf180536 100644 --- a/ports/openmvs/portfile.cmake +++ b/ports/openmvs/portfile.cmake @@ -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} @@ -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 diff --git a/ports/openmvs/vcpkg.json b/ports/openmvs/vcpkg.json index 809fe85cd8..2ea8a37cb3 100644 --- a/ports/openmvs/vcpkg.json +++ b/ports/openmvs/vcpkg.json @@ -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", diff --git a/versions/baseline.json b/versions/baseline.json index 7d32d9cb29..4d49588cd6 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -6078,7 +6078,7 @@ }, "openmvs": { "baseline": "2.1.0", - "port-version": 1 + "port-version": 2 }, "openni2": { "baseline": "2.2.0.33", diff --git a/versions/o-/openmvs.json b/versions/o-/openmvs.json index e1e32f1bd9..4649a87c68 100644 --- a/versions/o-/openmvs.json +++ b/versions/o-/openmvs.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "8779bcf1acd942b029c79791b2335b252e151f20", + "version": "2.1.0", + "port-version": 2 + }, { "git-tree": "93c2bb0fd968757d60afa8ce2de0d456a3ae5cc0", "version": "2.1.0",