mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-21 13:53:01 +08:00
Merge pull request #4951 from coryan/upgrade-crc32c-to-1.0.6
[crc32c] Upgrade crc32c to 1.0.6.
This commit is contained in:
commit
bdafba739f
15
ports/crc32c/0001_export_symbols.patch
Normal file
15
ports/crc32c/0001_export_symbols.patch
Normal file
@ -0,0 +1,15 @@
|
||||
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.
|
@ -1,3 +1,3 @@
|
||||
Source: crc32c
|
||||
Version: 1.0.5-1
|
||||
Version: 1.0.6-1
|
||||
Description: CRC32C implementation with support for CPU-specific acceleration instructions.
|
||||
|
@ -1,13 +1,12 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO google/crc32c
|
||||
REF 12a65bfb328fefae5c05879132676f702a3f68e8
|
||||
SHA512 610b7c54b0247edd2d37ec18db68c1f8a55b60b2fd3ddcede41e6321eb45d040f513cece493cbdc67e881065a643c4972126864811ff08b24aa7e82642e54f56
|
||||
REF 1.0.6
|
||||
SHA512 c30f6510d6348f15dcdddc06e375f21a69681cd615483d67628b32de747e5e98200fa49faf7e3fc30a1302991fd1f9c9a706c9eb4e13c9c6c09e74066474ea7b
|
||||
HEAD_REF master
|
||||
PATCHES ${CMAKE_CURRENT_LIST_DIR}/0001_export_symbols.patch
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
|
Loading…
Reference in New Issue
Block a user