Skip to content

Commit 9c8aacd

Browse files
committed
updated cmake flag name
1 parent aa49592 commit 9c8aacd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • google/cloud/opentelemetry/quickstart

google/cloud/opentelemetry/quickstart/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ To enable these features, add the following to your CMake configuration command:
116116

117117
#### Details
118118

119-
We must supply the `-DWITH_STL=17` flag when compiling `opentelemetry-cpp` for
120-
compatibility with Abseil.
119+
We must supply the `-DWITH_STL=CXX17` flag when compiling `opentelemetry-cpp`
120+
for compatibility with Abseil.
121121

122122
We must also ensure that the `-DCMAKE_CXX_STANDARD` used to compile
123123
`opentelemetry-cpp` matches the language standard used to compile `abseil-cpp`.
@@ -127,7 +127,7 @@ is good practice to explicitly set the language standard.
127127

128128
While OpenTelemetry supports C++>=11, `google-cloud-cpp` requires C++>=17. So
129129
you can use `-DCMAKE_CXX_STANDARD=17`, or higher, just make sure it matches the
130-
standard value in the `-DWITH_STL=xx` flag.
130+
standard value in the `-DWITH_STL=CXXnn` flag.
131131

132132
### Package Managers
133133

0 commit comments

Comments
 (0)