Skip to content

Commit

Permalink
[openmvs] trying to diagnose the problem - DO NOT MERGE
Browse files Browse the repository at this point in the history
  • Loading branch information
cenit committed Jul 22, 2022
1 parent 094a8c7 commit 8bfd0ff
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions ports/openmvs/find-opencv-debug.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -185,7 +185,9 @@ if(EIGEN3_FOUND)
MESSAGE(STATUS "Eigen ${EIGEN3_VERSION} found (include: ${EIGEN3_INCLUDE_DIR})")
endif()

+set(CMAKE_FIND_DEBUG_MODE TRUE)
FIND_PACKAGE(OpenCV REQUIRED)
+set(CMAKE_FIND_DEBUG_MODE FALSE)
if(OpenCV_FOUND)
LIST(APPEND OpenMVS_EXTRA_INCLUDES ${OpenCV_INCLUDE_DIRS})
INCLUDE_DIRECTORIES(${OpenCV_INCLUDE_DIRS})
1 change: 1 addition & 0 deletions ports/openmvs/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ vcpkg_from_github(
PATCHES
fix-build.patch
no-absolute-paths.patch
find-opencv-debug.patch
)

vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
Expand Down
1 change: 1 addition & 0 deletions ports/openmvs/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "openmvs",
"version": "2.0.1",
"port-version": 1,
"description": "OpenMVS: open Multi-View Stereo reconstruction library",
"homepage": "https://cdcseacave.github.io/openMVS",
"license": "AGPL-3.0-only",
Expand Down

0 comments on commit 8bfd0ff

Please sign in to comment.