Merge pull request #1487 from jasjuang/master

fix ceres find_package error for downstream project
This commit is contained in:
Robert Schumacher 2017-07-19 18:00:26 -07:00 committed by GitHub
commit 99905acd53
2 changed files with 1 additions and 5 deletions

View File

@ -1,4 +1,4 @@
Source: ceres
Version: 1.12.0-3
Version: 1.12.0-4
Build-Depends:suitesparse, eigen3, clapack, gflags, glog
Description: non-linear optimization package

View File

@ -52,10 +52,6 @@ vcpkg_configure_cmake(
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH "CMake")
file(READ ${CURRENT_PACKAGES_DIR}/share/${PORT}/CeresConfig.cmake CERES_MODULE)
string(REPLACE "\${CERES_CURRENT_CONFIG_DIR}/../" "\${CERES_CURRENT_CONFIG_DIR}/../../" CERES_MODULE "${CERES_MODULE}")
file(WRITE ${CURRENT_PACKAGES_DIR}/share/${PORT}/CeresConfig.cmake "${CERES_MODULE}")
vcpkg_copy_pdbs()
# Changes target search path