Skip to content

Commit 8cd247e

Browse files
authored
Merge branch 'master' into resources
2 parents a272b92 + ad9e57f commit 8cd247e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/opentelemetry-proto.cmake

+2-2
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ if(TARGET protobuf::libprotobuf)
151151
else() # cmake 3.8 or lower
152152
target_include_directories(opentelemetry_proto
153153
PUBLIC ${Protobuf_INCLUDE_DIRS})
154-
target_include_directories(opentelemetry_proto
155-
INTERFACE ${Protobuf_LIBRARIES})
154+
target_link_libraries(opentelemetry_proto
155+
INTERFACE ${Protobuf_LIBRARIES})
156156
endif()
157157

158158
if(BUILD_SHARED_LIBS)

0 commit comments

Comments
 (0)