mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 21:29:08 +08:00
0d0a01598c
* Update opentelemetry-cpp to v1.8.2 * Add feature description to otlp-http * Update opentelemetry-cpp.json * use ${VERSION} in portfile.cmake * update version --------- Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com> Co-authored-by: Lily Wang <494550702@qq.com>
17 lines
500 B
Diff
17 lines
500 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 9df8f5ca..f68830cc 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -344,6 +344,11 @@ if(WITH_OTLP)
|
|
endif()
|
|
include(CMakeDependentOption)
|
|
|
|
+ if (ABSL_USE_CXX17)
|
|
+ message(STATUS "Found absl uses CXX17, enable CXX17 feature.")
|
|
+ set(CMAKE_CXX_STANDARD 17)
|
|
+ set(WITH_STL ON)
|
|
+ endif()
|
|
cmake_dependent_option(
|
|
WITH_OTLP_GRPC "Whether to include the OTLP gRPC exporter in the SDK" ON
|
|
"gRPC_FOUND" OFF)
|