Skip to content

Commit

Permalink
patch fixes cmake error
Browse files Browse the repository at this point in the history
  • Loading branch information
marinagmoreira committed Apr 26, 2024
1 parent 907c752 commit 70ae1c2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions scripts/setup/debians/openmvg/patches/fix_cmake.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/src/cmakeFindModules/OpenMVGConfig.cmake.in b/src/cmakeFindModules/OpenMVGConfig.cmake.in
index 01d4df98..64a4739d 100644
--- a/src/cmakeFindModules/OpenMVGConfig.cmake.in
+++ b/src/cmakeFindModules/OpenMVGConfig.cmake.in
@@ -42,7 +42,7 @@ MACRO(OPENMVG_REPORT_NOT_FOUND REASON_MSG)
# FindPackage() use the camelcase library name, not uppercase.
IF (OPENMVG_FIND_QUIETLY)
MESSAGE(STATUS "Failed to find OPENMVG - " ${REASON_MSG} ${ARGN})
- ELSE (OPENMVG_FIND_REQUIRED)
+ ELSEIF (OPENMVG_FIND_REQUIRED)
MESSAGE(FATAL_ERROR "Failed to find OPENMVG - " ${REASON_MSG} ${ARGN})
ELSE()
# Neither QUIETLY nor REQUIRED, use SEND_ERROR which emits an error
1 change: 1 addition & 0 deletions scripts/setup/debians/openmvg/patches/series
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ shared_libraries.patch
shared_internal_libs.patch
find_quiet.patch
no_infty_computer_vision.patch
fix_cmake.patch

0 comments on commit 70ae1c2

Please sign in to comment.