aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjasjuang <jasjuang@gmail.com>2017-07-18 17:58:56 -0700
committerjasjuang <jasjuang@gmail.com>2017-07-18 17:58:56 -0700
commit0094308a34657f9b3e855cc1d17495766a2751bd (patch)
tree425471b0a503edc8ed3162bbf996c302f368bee5
parente876a561aaa090e63973e3f140b879bc3f4e5f8c (diff)
downloadvcpkg-0094308a34657f9b3e855cc1d17495766a2751bd.tar.gz
vcpkg-0094308a34657f9b3e855cc1d17495766a2751bd.zip
fix ceres find_package error for downstream project
-rw-r--r--ports/ceres/portfile.cmake4
1 files changed, 0 insertions, 4 deletions
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