aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-07-19 18:00:26 -0700
committerGitHub <noreply@github.com>2017-07-19 18:00:26 -0700
commit99905acd5386ef4f14fc6e03d778ac54c60ca1e3 (patch)
tree21202522cfe8cd4e75b67062ea758111c6c80c64
parente876a561aaa090e63973e3f140b879bc3f4e5f8c (diff)
parent2a342a0f171e4ab76d4470e5a02ec240aec8f0e0 (diff)
downloadvcpkg-99905acd5386ef4f14fc6e03d778ac54c60ca1e3.tar.gz
vcpkg-99905acd5386ef4f14fc6e03d778ac54c60ca1e3.zip
Merge pull request #1487 from jasjuang/master
fix ceres find_package error for downstream project
-rw-r--r--ports/ceres/CONTROL2
-rw-r--r--ports/ceres/portfile.cmake4
2 files changed, 1 insertions, 5 deletions
diff --git a/ports/ceres/CONTROL b/ports/ceres/CONTROL
index 673fa5fdc..4c8cf30a8 100644
--- a/ports/ceres/CONTROL
+++ b/ports/ceres/CONTROL
@@ -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 \ No newline at end of file
diff --git a/ports/ceres/portfile.cmake b/ports/ceres/portfile.cmake
index b90e1c336..e8a22184a 100644
--- a/ports/ceres/portfile.cmake
+++ b/ports/ceres/portfile.cmake
@@ -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