mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-03 00:39:00 +08:00
824c432473
* grpc: Update to 1.48.0 * grpc: Adjust line-ending of patches * grpc: Change line ending of some patches back to CRLF
17 lines
630 B
Diff
17 lines
630 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 25990a5d8a..ba8df92858 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -326,6 +326,11 @@ include(cmake/xxhash.cmake)
|
|
include(cmake/zlib.cmake)
|
|
include(cmake/download_archive.cmake)
|
|
|
|
+if (ABSL_USE_CXX17)
|
|
+ message(STATUS "Found absl uses CXX17, enable CXX17 feature.")
|
|
+ set(CMAKE_CXX_STANDARD 17)
|
|
+endif()
|
|
+
|
|
# Setup external proto library at third_party/envoy-api with 2 download URLs
|
|
if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/third_party/envoy-api)
|
|
# Download the archive via HTTP, validate the checksum, and extract to third_party/envoy-api.
|