File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -102,7 +102,6 @@ target_include_directories(livekit_proto PRIVATE
102102 "$<BUILD_INTERFACE :${PROTO_BINARY_DIR} >"
103103 ${Protobuf_INCLUDE_DIRS}
104104)
105- target_link_libraries (livekit_proto PRIVATE protobuf::libprotobuf )
106105
107106# Manually generate protobuf files to avoid path prefix issues
108107set (PROTO_SRCS)
@@ -318,6 +317,7 @@ target_include_directories(livekit
318317target_link_libraries (livekit
319318 PRIVATE
320319 livekit_ffi
320+ PUBLIC
321321 protobuf::libprotobuf
322322)
323323
@@ -494,14 +494,14 @@ if(Protobuf_VERSION VERSION_GREATER_EQUAL 6.0)
494494 endif ()
495495
496496 if (absl_FOUND)
497- target_link_libraries (livekit PRIVATE
497+ target_link_libraries (livekit PUBLIC
498498 absl::log
499499 absl::check
500500 absl::strings
501501 absl::base
502502 )
503503 elseif (Abseil_FOUND)
504- target_link_libraries (livekit PRIVATE
504+ target_link_libraries (livekit PUBLIC
505505 Abseil::log
506506 Abseil::check
507507 Abseil::strings
Original file line number Diff line number Diff line change 11@PACKAGE_INIT@
22
3+ include (CMakeFindDependencyMacro )
4+
5+ find_dependency (Protobuf CONFIG REQUIRED )
6+ find_dependency (absl CONFIG QUIET )
7+ if (NOT absl_FOUND)
8+ find_dependency (Abseil REQUIRED )
9+ endif ()
10+
311include ("${CMAKE_CURRENT_LIST_DIR} /LiveKitTargets.cmake" )
12+
You can’t perform that action at this time.
0 commit comments