mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 11:09:01 +08:00
470620d23a
* [grpc] update to 1.44.0 * update version * update patch EOL * overwrite version * update patch * update version * fix uwp-build * overwrite version
17 lines
468 B
Diff
17 lines
468 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 9c07732..54b4b23 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -321,6 +321,11 @@ include(cmake/ssl.cmake)
|
|
include(cmake/upb.cmake)
|
|
include(cmake/xxhash.cmake)
|
|
include(cmake/zlib.cmake)
|
|
+
|
|
+if (ABSL_USE_CXX17)
|
|
+ message(STATUS "Found absl uses CXX17, enable CXX17 feature.")
|
|
+ set(CMAKE_CXX_STANDARD 17)
|
|
+endif()
|
|
|
|
if(WIN32)
|
|
set(_gRPC_BASELIB_LIBRARIES wsock32 ws2_32 crypt32 gdi32)
|