mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 03:13:03 +08:00
[g2o] Fix g2o:x64-windows failed with POST_BUILD_CHECKS_FAILED.#4098 (#5925)
* [g2o] fix g20:x64-windows failed with POST_BUILD_CHECKS_FAILED.#4098 * Add "VCPKG_USE_HEAD_VERSION" to judge if it is from HEAD.
This commit is contained in:
parent
46bd973e18
commit
9ca6603ca4
@ -1,4 +1,4 @@
|
||||
Source: g2o
|
||||
Version: 20170730_git-3
|
||||
Version: 20170730_git-4
|
||||
Build-Depends: suitesparse, eigen3, clapack, ceres
|
||||
Description: g2o: A General Framework for Graph Optimization http://openslam.org/g2o.html
|
||||
|
@ -23,6 +23,10 @@ vcpkg_install_cmake()
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
if(VCPKG_USE_HEAD_VERSION)
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH "lib/cmake/g2o")
|
||||
endif()
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
||||
file(GLOB_RECURSE HEADERS "${CURRENT_PACKAGES_DIR}/include/*")
|
||||
foreach(HEADER ${HEADERS})
|
||||
|
Loading…
Reference in New Issue
Block a user