mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-11 10:39:00 +08:00
b39520920f
* grpc: Update to 1.50.1 * dos2unix Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
17 lines
613 B
Diff
17 lines
613 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.
|