Commit 2037fa7 1 parent 40d2eb5 commit 2037fa7 Copy full SHA for 2037fa7
File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,18 @@ dependencies:
102
102
C++14 or C++17 compiler.
103
103
- ` nlohmann-json ` - required when building with zPages module.
104
104
- ` prometheus-cpp ` - required for Prometheus exporter.
105
+ - ` gRPC ` and ` Protobuf ` - required for OTLP exporter
105
106
106
107
It is possible to adjust the build system to use either vcpkg-installed
107
108
dependencies or OS-provided dependencies, e.g. ` brew ` or ` deb ` packages.
109
+ To install the dependencies through vcpkg,
110
+
111
+ - Set the VCPKG_ROOT env variable to the vcpkg install directory, or
112
+ - Set the CMake variable CMAKE_TOOLCHAIN_FILE to vcpkg toolchain file ` vcpkg.cmake ` .
113
+
114
+ With either of these settings, the appropriate vcpkg folders get added to the cmake
115
+ search path, and makes the required libraries to be found through ` find_package() ` .
116
+
117
+ The opentelemetry-cpp repo also brings the vcpkg package under ` tools ` directory.
118
+ This would be used during Windows builds to install the missing dependencies ONLY
119
+ if the external vcpkg toolchain is not configured.
You can’t perform that action at this time.
0 commit comments