aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLily <47812810+LilyWangL@users.noreply.github.com>2020-04-04 01:26:50 +0800
committerGitHub <noreply@github.com>2020-04-03 10:26:50 -0700
commit32d29d6df493b21b4747c49e1da7d4975dc609f3 (patch)
tree377f8a280cc7ea4e9bc4941166085857fbac3f7b
parentb065d5fec011e480ab36ab766c87b8830b3626cd (diff)
downloadvcpkg-32d29d6df493b21b4747c49e1da7d4975dc609f3.tar.gz
vcpkg-32d29d6df493b21b4747c49e1da7d4975dc609f3.zip
[abseil] Fix feature name error (#10620)
-rw-r--r--ports/abseil/CONTROL4
-rw-r--r--ports/abseil/portfile.cmake2
2 files changed, 3 insertions, 3 deletions
diff --git a/ports/abseil/CONTROL b/ports/abseil/CONTROL
index 7e3f54a8b..bcde132e8 100644
--- a/ports/abseil/CONTROL
+++ b/ports/abseil/CONTROL
@@ -1,10 +1,10 @@
Source: abseil
-Version: 2020-03-03-1
+Version: 2020-03-03-2
Homepage: https://github.com/abseil/abseil-cpp
Description: an open-source collection designed to augment the C++ standard library.
Abseil is an open-source collection of C++ library code designed to augment the C++ standard library. The Abseil library code is collected from Google's own C++ code base, has been extensively tested and used in production, and is the same code we depend on in our daily coding lives.
In some cases, Abseil provides pieces missing from the C++ standard; in others, Abseil provides alternatives to the standard for special needs we've found through usage in the Google code base. We denote those cases clearly within the library code we provide you.
Abseil is not meant to be a competitor to the standard library; we've just found that many of these utilities serve a purpose within our code base, and we now want to provide those resources to the C++ community as a whole.
-Feature: c++17
+Feature: cxx17
Description: Enable compiler C++17.
diff --git a/ports/abseil/portfile.cmake b/ports/abseil/portfile.cmake
index c569d766a..4c9196207 100644
--- a/ports/abseil/portfile.cmake
+++ b/ports/abseil/portfile.cmake
@@ -12,7 +12,7 @@ vcpkg_from_github(
)
set(CMAKE_CXX_STANDARD )
-if("c++17" IN_LIST FEATURES)
+if("cxx17" IN_LIST FEATURES)
set(CMAKE_CXX_STANDARD 17)
endif()