mirror of https://github.com/microsoft/vcpkg.git
[snappy] fix clang-cl builds (#26057)
* snappy fix clang-cl builds * v db * CI Retriger
This commit is contained in:
parent
cdd1edc286
commit
ec2ab620f8
|
|
@ -0,0 +1,13 @@
|
|||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 672561e62..b6930b834 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -38,7 +38,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]")
|
||||
|
|
@ -4,6 +4,8 @@ vcpkg_from_github(
|
|||
REF 1.1.9
|
||||
SHA512 f1f8a90f5f7f23310423574b1d8c9acb84c66ea620f3999d1060395205e5760883476837aba02f0aa913af60819e34c625d8308c18a5d7a9c4e190f35968b024
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
fix_clang-cl_build.patch
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "snappy",
|
||||
"version": "1.1.9",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "A fast compressor/decompressor.",
|
||||
"homepage": "https://github.com/google/snappy",
|
||||
"dependencies": [
|
||||
|
|
|
|||
|
|
@ -6674,7 +6674,7 @@
|
|||
},
|
||||
"snappy": {
|
||||
"baseline": "1.1.9",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"sndfile": {
|
||||
"baseline": "0",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "7122115f0f35f7f90f7a7adc1d15a4b6f7af5315",
|
||||
"version": "1.1.9",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "c92c17d378451a07e9cc974fa31893d1cae61b66",
|
||||
"version": "1.1.9",
|
||||
|
|
|
|||
Loading…
Reference in New Issue