diff options
| author | Phoebe <20694052+PhoebeHui@users.noreply.github.com> | 2020-02-12 08:32:28 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-11 16:32:28 -0800 |
| commit | 61bb3713f41d6adc9fbb8863bfe9f841ea29805c (patch) | |
| tree | 800c5a0924d7b2379993d0230bb049b82c46c7c2 | |
| parent | 0360bc88ae29275d0230f6d3d87f89658ac6b807 (diff) | |
| download | vcpkg-61bb3713f41d6adc9fbb8863bfe9f841ea29805c.tar.gz vcpkg-61bb3713f41d6adc9fbb8863bfe9f841ea29805c.zip | |
[g2o] Update to 2020-02-07 (#9968)
| -rw-r--r-- | ports/g2o/CONTROL | 2 | ||||
| -rw-r--r-- | ports/g2o/portfile.cmake | 14 |
2 files changed, 5 insertions, 11 deletions
diff --git a/ports/g2o/CONTROL b/ports/g2o/CONTROL index 0e6b43f7d..80b321d5b 100644 --- a/ports/g2o/CONTROL +++ b/ports/g2o/CONTROL @@ -1,5 +1,5 @@ Source: g2o -Version: 20170730_git-5 +Version: 2020-02-07 Build-Depends: suitesparse, eigen3, clapack (!osx), ceres Description: g2o: A General Framework for Graph Optimization Homepage: https://openslam.org/g2o.html diff --git a/ports/g2o/portfile.cmake b/ports/g2o/portfile.cmake index 312bbc8e8..010a10ccf 100644 --- a/ports/g2o/portfile.cmake +++ b/ports/g2o/portfile.cmake @@ -1,10 +1,8 @@ -include(vcpkg_common_functions) - vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO RainerKuemmerle/g2o - REF 20170730_git - SHA512 a85e3f79e6a8bd0f81a9a1a7a01227779100d9f4ebd0ae9c03537bbdcc246018f292b53045f027bbe28ecf63b98de2f22f5528c992c93c9790eb6a3a40995903 + REF fcba4eaca6f20d9a5792404cc8ef303aeb8ba5d2 + SHA512 41e5a6d40db10d66182653d56f937f29264bf4f9412dfa651be949caeb055741c9d9ba75a122180892aafe7d45b334d50470284121148c0561e1d49f6ba5e20a HEAD_REF master ) @@ -23,9 +21,7 @@ vcpkg_install_cmake() vcpkg_copy_pdbs() -if(VCPKG_USE_HEAD_VERSION) - vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/g2o) -endif() +vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/g2o) if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic) file(GLOB_RECURSE HEADERS "${CURRENT_PACKAGES_DIR}/include/*") @@ -44,6 +40,4 @@ endif() file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share) -# Put the license file where vcpkg expects it -file(COPY ${SOURCE_PATH}/doc/license-bsd.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/g2o/) -file(RENAME ${CURRENT_PACKAGES_DIR}/share/g2o/license-bsd.txt ${CURRENT_PACKAGES_DIR}/share/g2o/copyright) +file(INSTALL ${SOURCE_PATH}/doc/license-bsd.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) |
