Skip to content

Commit

Permalink
[sophus,openmvg] use suitesparse lowercase for module compatibility o…
Browse files Browse the repository at this point in the history
…n case-sensitive filesystems
  • Loading branch information
cenit committed May 30, 2019
1 parent 1fb8b56 commit a366897
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ports/openmvg/fixcmake.patch
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ index 654bebd..ab7dd90 100644
+# ==============================================================================
+# Suitesparse
+# ==============================================================================
+find_package(Suitesparse REQUIRED)
+find_package(suitesparse REQUIRED)

# ==============================================================================
# Third-party libraries:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ index fa51e2c..3e07396 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -39,6 +39,7 @@ SET( Sophus_INCLUDE_DIR ${PROJECT_SOURCE_DIR} )

################################################################################
FIND_PACKAGE( Eigen3 REQUIRED )
+FIND_PACKAGE( Suitesparse REQUIRED )
+FIND_PACKAGE( suitesparse REQUIRED )
LIST( APPEND Sophus_INCLUDE_DIR ${EIGEN3_INCLUDE_DIR} )

################################################################################
2 changes: 1 addition & 1 deletion ports/sophus/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ vcpkg_from_github(
SHA512 569634a8be9237d2240cf30c01e2677ece75d55f1196030f1228baca62fa22460e8ceb2a63bd46afdf7f02d8eb79c59d6ed666228b852da78590de897b278fab
HEAD_REF master
PATCHES
fix_cmakelists.txt
fix_cmakelists.patch
)

vcpkg_configure_cmake(
Expand Down

0 comments on commit a366897

Please sign in to comment.