forked from microsoft/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[opentelemetry-cpp] Update to 1.6.0 and fix abseil[cxx17] (microsoft#…
…26857) * opentelemetry-cpp: Update to 1.6.0 and fix abseil[cxx17] * opentelemetry-cpp: Adjust versions json * opentelemetry-cpp: Re-add 1.5.0p1 version
- Loading branch information
Showing
5 changed files
with
36 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index a1b69340..193c9e39 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -305,7 +305,11 @@ if(WITH_OTLP) | ||
CACHE{WITH_OTLP_HTTP})) | ||
find_package(CURL) | ||
endif() | ||
- | ||
+ 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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters