aboutsummaryrefslogtreecommitdiff
path: root/ports/cgl
diff options
context:
space:
mode:
authorPhoebe <20694052+PhoebeHui@users.noreply.github.com>2021-09-14 11:24:22 +0800
committerGitHub <noreply@github.com>2021-09-13 20:24:22 -0700
commitc702e92ef7473574a016ef9a34b0a0e880e865eb (patch)
treefeb099fa3aeab0413af1ace2b32756d5b8b9c559 /ports/cgl
parent88e62788be33f9a57963c22e2bea89702edf74fd (diff)
downloadvcpkg-c702e92ef7473574a016ef9a34b0a0e880e865eb.tar.gz
vcpkg-c702e92ef7473574a016ef9a34b0a0e880e865eb.zip
[botan/bitsery/cgl] Update to latest release (#20132)
Diffstat (limited to 'ports/cgl')
-rw-r--r--ports/cgl/portfile.cmake23
-rw-r--r--ports/cgl/vcpkg.json13
2 files changed, 21 insertions, 15 deletions
diff --git a/ports/cgl/portfile.cmake b/ports/cgl/portfile.cmake
index 8969d8131..97583b097 100644
--- a/ports/cgl/portfile.cmake
+++ b/ports/cgl/portfile.cmake
@@ -3,26 +3,25 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO coin-or/Cgl
- REF 6377b88754fafacf24baac28bb27c0623cc14457
- SHA512 7579a89f945fd3b88cc1f0dd95906c385b5c730b58bd620ea8b820926096256f9083f50dd4e70f71d69432e4d0ffc60b4ec8fa517893a549621d8373f944a1bb
+ REF 31797b2997219934db02a40d501c4b6d8efa7398 # 0.60.3
+ SHA512 33e01acdfd2057541492f4e83c0554ed74489995c47cef0b954529d4603090d03457fdababb331132b3fd286c985e46a3c8e3abbdb2eed36e7eaa8102acd095e
PATCHES fix-c1083-error.patch
)
-file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
-file(COPY ${CMAKE_CURRENT_LIST_DIR}/Config.cmake.in DESTINATION ${SOURCE_PATH})
+file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
+file(COPY "${CMAKE_CURRENT_LIST_DIR}/Config.cmake.in" DESTINATION "${SOURCE_PATH}")
-vcpkg_configure_cmake(
- SOURCE_PATH ${SOURCE_PATH}
- PREFER_NINJA
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
)
-vcpkg_install_cmake()
+vcpkg_cmake_install()
-vcpkg_fixup_cmake_targets()
+vcpkg_cmake_config_fixup()
vcpkg_copy_pdbs()
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
-file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) \ No newline at end of file
+file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/ports/cgl/vcpkg.json b/ports/cgl/vcpkg.json
index 3e59231a8..7b72af761 100644
--- a/ports/cgl/vcpkg.json
+++ b/ports/cgl/vcpkg.json
@@ -1,12 +1,19 @@
{
"name": "cgl",
- "version-string": "0.60.2",
- "port-version": 3,
+ "version": "0.60.3",
"description": "The COIN-OR Cut Generation Library (Cgl) is a collection of cut generators that can be used with other COIN-OR packages that make use of cuts, such as, among others, the linear solver Clp or the mixed integer linear programming solvers Cbc or BCP.",
"homepage": "https://github.com/coin-or/Cgl",
"dependencies": [
"clp",
"coinutils",
- "osi"
+ "osi",
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
]
}