mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 13:05:38 +08:00
[g2o] Update to 2020-02-07 (#9968)
This commit is contained in:
parent
0360bc88ae
commit
61bb3713f4
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user