2022-10-15 08:52:31 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2023-02-08 07:31:57 +08:00
|
|
|
index 9df8f5ca..f68830cc 100644
|
2022-10-15 08:52:31 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2023-02-08 07:31:57 +08:00
|
|
|
@@ -344,6 +344,11 @@ if(WITH_OTLP)
|
2022-10-15 08:52:31 +08:00
|
|
|
endif()
|
2023-02-08 07:31:57 +08:00
|
|
|
include(CMakeDependentOption)
|
|
|
|
|
2022-10-15 08:52:31 +08:00
|
|
|
+ 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)
|