aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorCarlos O'Ryan <coryan@google.com>2021-10-05 19:34:40 -0400
committerGitHub <noreply@github.com>2021-10-05 16:34:40 -0700
commit29b85ae79722b87c8a1ecade7bad90644995c166 (patch)
tree460fc1dc7d994035c33e741881daa074ccfe1c1e /ports
parentb9ed4c9d38aab8d9c2795332a97e4fb33e7f60c7 (diff)
downloadvcpkg-29b85ae79722b87c8a1ecade7bad90644995c166.tar.gz
vcpkg-29b85ae79722b87c8a1ecade7bad90644995c166.zip
[crc32c] update to latest release (1.1.2) (#20534)
* [crc32c] update to latest release (1.1.2) * Use version rather than version-string. Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Diffstat (limited to 'ports')
-rw-r--r--ports/crc32c/portfile.cmake11
-rw-r--r--ports/crc32c/vcpkg.json15
2 files changed, 17 insertions, 9 deletions
diff --git a/ports/crc32c/portfile.cmake b/ports/crc32c/portfile.cmake
index ccd8ca47b..63a613028 100644
--- a/ports/crc32c/portfile.cmake
+++ b/ports/crc32c/portfile.cmake
@@ -3,23 +3,22 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO google/crc32c
- REF ba741856254e3c6f6c7bcf0704fe1344a668a227 # 1.1.1
- SHA512 129e7cf36a92f6d953b4545e673860b0d956aa0ecf89ae98dfcfdff03031482d03f9036d11d0546446f1e73f65548cdd87065759dc6efd39f0fd9c58234ebb24
+ REF 1.1.2
+ SHA512 6325c52b5a6850b9f90086e0c0c86798c008af36e7cfd3a0216184a2d37b3bf7323481ddc6bfe4cbd5b31288b3ee6c69772d03085a13094cf95d00a9756a7196
HEAD_REF master
)
-vcpkg_configure_cmake(
+vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}
- PREFER_NINJA
OPTIONS
-DCRC32C_BUILD_TESTS=OFF
-DCRC32C_BUILD_BENCHMARKS=OFF
-DCRC32C_USE_GLOG=OFF
)
-vcpkg_install_cmake()
+vcpkg_cmake_install()
vcpkg_copy_pdbs()
-vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/Crc32c)
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/Crc32c)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
diff --git a/ports/crc32c/vcpkg.json b/ports/crc32c/vcpkg.json
index b8bd8e5b9..ac03f93e3 100644
--- a/ports/crc32c/vcpkg.json
+++ b/ports/crc32c/vcpkg.json
@@ -1,7 +1,16 @@
{
"name": "crc32c",
- "version-string": "1.1.1",
- "port-version": 1,
+ "version": "1.1.2",
"description": "CRC32C implementation with support for CPU-specific acceleration instructions.",
- "homepage": "https://github.com/google/crc32c"
+ "homepage": "https://github.com/google/crc32c",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
}