diff options
| author | Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> | 2020-10-13 15:02:41 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-13 15:02:41 -0700 |
| commit | 26279b79d07fd850f61fc5144965994255aff008 (patch) | |
| tree | 9c9d3dbb250a4b81a4be5b970d695ecf48a22fc8 /ports/crc32c | |
| parent | cebe05184119cfabcc8f5c0e71c8673c22a1487b (diff) | |
| download | vcpkg-26279b79d07fd850f61fc5144965994255aff008.tar.gz vcpkg-26279b79d07fd850f61fc5144965994255aff008.zip | |
[cpr/crc32c] Update version (#13678)
Diffstat (limited to 'ports/crc32c')
| -rw-r--r-- | ports/crc32c/0001_export_symbols.patch | 15 | ||||
| -rw-r--r-- | ports/crc32c/CONTROL | 2 | ||||
| -rw-r--r-- | ports/crc32c/portfile.cmake | 9 |
3 files changed, 5 insertions, 21 deletions
diff --git a/ports/crc32c/0001_export_symbols.patch b/ports/crc32c/0001_export_symbols.patch deleted file mode 100644 index 691e8603f..000000000 --- a/ports/crc32c/0001_export_symbols.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 80b7d17..6ab78e2 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -15,6 +15,10 @@ set(CMAKE_CXX_STANDARD 11) - set(CMAKE_CXX_STANDARD_REQUIRED ON) - set(CMAKE_CXX_EXTENSIONS OFF) - -+# When compiling a Windows DLL export all symbols, just like Unix shared -+# objects do. -+set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) -+ - # https://github.com/izenecloud/cmake/blob/master/SetCompilerWarningAll.cmake - if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") - # Use the highest warning level for Visual Studio. diff --git a/ports/crc32c/CONTROL b/ports/crc32c/CONTROL index b13c39f0f..b7d86b001 100644 --- a/ports/crc32c/CONTROL +++ b/ports/crc32c/CONTROL @@ -1,4 +1,4 @@ Source: crc32c -Version: 1.1.0 +Version: 1.1.1 Homepage: https://github.com/google/crc32c Description: CRC32C implementation with support for CPU-specific acceleration instructions. diff --git a/ports/crc32c/portfile.cmake b/ports/crc32c/portfile.cmake index bce61bc2e..ccd8ca47b 100644 --- a/ports/crc32c/portfile.cmake +++ b/ports/crc32c/portfile.cmake @@ -1,12 +1,11 @@ -include(vcpkg_common_functions) +vcpkg_check_linkage(ONLY_STATIC_LIBRARY) vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO google/crc32c - REF 83c31e797274a5b26e9e4a5355ba394cd0cabc10 - SHA512 829f8618c2769d274b400cf6de1dd2ab874d50d36e8cb086238aadae804154360b113faecd3c60e029a8d5ebc620d4b7cc7e1492775a4235d53989116227cd52 + REF ba741856254e3c6f6c7bcf0704fe1344a668a227 # 1.1.1 + SHA512 129e7cf36a92f6d953b4545e673860b0d956aa0ecf89ae98dfcfdff03031482d03f9036d11d0546446f1e73f65548cdd87065759dc6efd39f0fd9c58234ebb24 HEAD_REF master - PATCHES ${CMAKE_CURRENT_LIST_DIR}/0001_export_symbols.patch ) vcpkg_configure_cmake( @@ -30,4 +29,4 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL "static") endif() # Handle copyright -file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/crc32c RENAME copyright) +file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) |
