diff --git a/ports/openmvg/fixcmake.patch b/ports/openmvg/fixcmake.patch index 21140c2bb45b25..655311c5d48d17 100644 --- a/ports/openmvg/fixcmake.patch +++ b/ports/openmvg/fixcmake.patch @@ -238,7 +238,7 @@ index 654bebd..ab7dd90 100644 +# ============================================================================== +# Suitesparse +# ============================================================================== -+find_package(Suitesparse REQUIRED) ++find_package(suitesparse REQUIRED) # ============================================================================== # Third-party libraries: diff --git a/ports/sophus/fix_cmakelists.txt b/ports/sophus/fix_cmakelists.patch similarity index 91% rename from ports/sophus/fix_cmakelists.txt rename to ports/sophus/fix_cmakelists.patch index e639dd7679c8bf..33916cf1df6733 100644 --- a/ports/sophus/fix_cmakelists.txt +++ b/ports/sophus/fix_cmakelists.patch @@ -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} ) - + ################################################################################ diff --git a/ports/sophus/portfile.cmake b/ports/sophus/portfile.cmake index 069abf361f2957..ee454b7a7b03a1 100644 --- a/ports/sophus/portfile.cmake +++ b/ports/sophus/portfile.cmake @@ -7,7 +7,7 @@ vcpkg_from_github( SHA512 569634a8be9237d2240cf30c01e2677ece75d55f1196030f1228baca62fa22460e8ceb2a63bd46afdf7f02d8eb79c59d6ed666228b852da78590de897b278fab HEAD_REF master PATCHES - fix_cmakelists.txt + fix_cmakelists.patch ) vcpkg_configure_cmake(