Skip to content

Commit 2290cfc

Browse files
authored
Update INSTALL.md
Add note for build option `-DOPENTELEMETRY_INSTALL`.
1 parent 19f0dc7 commit 2290cfc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

INSTALL.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ You can link OpenTelemetry C++ SDK with libraries provided in
8585
- `-DWITH_OTLP_GRPC=ON` : To enable building OTLP GRPC exporter.
8686
- `-DWITH_OTLP_HTTP=ON` : To enable building OTLP HTTP exporter.
8787
- `-DWITH_PROMETHEUS=ON` : To enable building prometheus exporter.
88+
- [`-DOPENTELEMETRY_INSTALL=ON`](https://github.com/open-telemetry/opentelemetry-cpp/blob/main/sdk/CMakeLists.txt): To install `libopentelemetry_common.so` needed for external code linking that rely on `ld`.
8889

8990
3. Once the build configuration is created, build the CMake targets - this
9091
includes building SDKs and unittests for API and SDK. Note that since API is

0 commit comments

Comments
 (0)