mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 04:53:02 +08:00
[openmvs] trying to diagnose the problem - DO NOT MERGE
This commit is contained in:
parent
094a8c7357
commit
8bfd0ff4f9
12
ports/openmvs/find-opencv-debug.patch
Normal file
12
ports/openmvs/find-opencv-debug.patch
Normal file
@ -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})
|
@ -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
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user