File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,7 @@ if(NOT DEFINED CMAKE_CXX_STANDARD)
10
10
set (CMAKE_CXX_STANDARD 11 )
11
11
endif ()
12
12
13
- option (WITH_OTPROTOCOL
14
- "Whether to include the OpenTelemetry Protocol in the SDK" OFF )
13
+ option (WITH_OTLP "Whether to include the OpenTelemetry Protocol in the SDK" OFF )
15
14
16
15
option (WITH_PROMETHEUS "Whether to include the Prometheus Client in the SDK"
17
16
OFF )
@@ -20,7 +19,7 @@ option(WITH_TESTS "Whether to enable tests" ON)
20
19
option (WITH_EXAMPLES "Whether to build examples" ON )
21
20
22
21
set (WITH_PROTOBUF OFF )
23
- if (WITH_OTPROTOCOL )
22
+ if (WITH_OTLP )
24
23
set (WITH_PROTOBUF ON )
25
24
endif ()
26
25
@@ -46,7 +45,7 @@ if(WITH_PROTOBUF)
46
45
endif ()
47
46
endif ()
48
47
49
- if (WITH_OTPROTOCOL )
48
+ if (WITH_OTLP )
50
49
include (third_party/opentelemetry-proto/Protobuf.cmake )
51
50
endif ()
52
51
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ elif [[ "$1" == "cmake.exporter.otprotocol.test" ]]; then
44
44
cd " ${BUILD_DIR} "
45
45
rm -rf *
46
46
cmake -DCMAKE_BUILD_TYPE=Debug \
47
- -DWITH_OTPROTOCOL =ON \
47
+ -DWITH_OTLP =ON \
48
48
-DCMAKE_CXX_FLAGS=" -Werror" \
49
49
" ${SRC_DIR} "
50
50
make
Original file line number Diff line number Diff line change 1
- if (WITH_OTPROTOCOL )
1
+ if (WITH_OTLP )
2
2
add_subdirectory (otlp )
3
3
endif ()
4
4
You can’t perform that action at this time.
0 commit comments