mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 04:49:04 +08:00
parent
8056e214c5
commit
63449f5c8d
13
ports/crc32c/fix_clang-cl.patch
Normal file
13
ports/crc32c/fix_clang-cl.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 84907285c..8c446b0c8 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -22,7 +22,7 @@ if(NOT CMAKE_CXX_STANDARD)
|
||||
endif(NOT CMAKE_CXX_STANDARD)
|
||||
|
||||
# https://github.com/izenecloud/cmake/blob/master/SetCompilerWarningAll.cmake
|
||||
-if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
|
||||
+if(MSVC)
|
||||
# Use the highest warning level for Visual Studio.
|
||||
set(CMAKE_CXX_WARNING_LEVEL 4)
|
||||
if(CMAKE_CXX_FLAGS MATCHES "/W[0-4]")
|
@ -6,6 +6,8 @@ vcpkg_from_github(
|
||||
REF 1.1.2
|
||||
SHA512 6325c52b5a6850b9f90086e0c0c86798c008af36e7cfd3a0216184a2d37b3bf7323481ddc6bfe4cbd5b31288b3ee6c69772d03085a13094cf95d00a9756a7196
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
fix_clang-cl.patch
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "crc32c",
|
||||
"version": "1.1.2",
|
||||
"port-version": 1,
|
||||
"description": "CRC32C implementation with support for CPU-specific acceleration instructions.",
|
||||
"homepage": "https://github.com/google/crc32c",
|
||||
"dependencies": [
|
||||
|
@ -1710,7 +1710,7 @@
|
||||
},
|
||||
"crc32c": {
|
||||
"baseline": "1.1.2",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"crfsuite": {
|
||||
"baseline": "2020-08-27",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "9704ed68003973bdffcd5224f720b97c424d1fa5",
|
||||
"version": "1.1.2",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "dcfaa85ef9b67b94cf51378922832fff7cf43333",
|
||||
"version": "1.1.2",
|
||||
|
Loading…
Reference in New Issue
Block a user