mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 08:43:33 +08:00
[units] Update to 2.3.3 (#29116)
* Update units to 2.3.3 * Update CI baseline Co-authored-by: chausner <chausner@users.noreply.github.com>
This commit is contained in:
parent
b07bc9a50c
commit
736c417009
@ -1,22 +1,22 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO nholthaus/units
|
||||
REF v2.3.1
|
||||
SHA512 1ec9e4d7d60f073ad82a02116f16b9dda57406a3b22a5b06d34f9e5a4df8fd20cc28fc7acfd8fc33054718e0efca3973df0424563f7e1833687a6c1696b9c340
|
||||
REF v2.3.3
|
||||
SHA512 40d803e6bb17f4bb46a0136c7753ae25a0d3ce352dbff3843b0c231e94eb8bade1de65d5b988589607fb12b11e4bfa762708a68839f2d7dccb45440672d09031
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA # Disable this option if project cannot be built with Ninja
|
||||
OPTIONS -DBUILD_TESTS=OFF
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DBUILD_TESTS=OFF
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
vcpkg_cmake_install()
|
||||
|
||||
# Handle copyright/readme/package files
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
file(INSTALL ${SOURCE_PATH}/README.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
file(INSTALL "${SOURCE_PATH}/README.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
|
||||
# remove uneeded directories
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/cmake)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
|
||||
# Remove unneeded directories
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/cmake")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
@ -1,7 +1,13 @@
|
||||
{
|
||||
"name": "units",
|
||||
"version-string": "2.3.1",
|
||||
"port-version": 1,
|
||||
"version": "2.3.3",
|
||||
"description": "A compile-time, header-only, dimensional analysis and unit conversion library built on c++14 with no dependencies.",
|
||||
"homepage": "https://github.com/nholthaus/units"
|
||||
"homepage": "https://github.com/nholthaus/units",
|
||||
"license": "MIT",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -7821,8 +7821,8 @@
|
||||
"port-version": 0
|
||||
},
|
||||
"units": {
|
||||
"baseline": "2.3.1",
|
||||
"port-version": 1
|
||||
"baseline": "2.3.3",
|
||||
"port-version": 0
|
||||
},
|
||||
"unittest-cpp": {
|
||||
"baseline": "2.0.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "d33e796f2c898b89720bf55e28d836f5cab1db75",
|
||||
"version": "2.3.3",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "4b254a4139e2d70522a90a640601abdd97cdbce3",
|
||||
"version-string": "2.3.1",
|
||||
|
Loading…
Reference in New Issue
Block a user