We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b399348 commit d8a16f5Copy full SHA for d8a16f5
CMakeLists.txt
@@ -82,6 +82,12 @@ if(NOT Protobuf_FOUND)
82
find_package(Protobuf REQUIRED)
83
endif()
84
85
+# Ensure protoc executable is found (some systems may not set Protobuf_PROTOC_EXECUTABLE)
86
+if(NOT Protobuf_PROTOC_EXECUTABLE)
87
+ find_program(Protobuf_PROTOC_EXECUTABLE NAMES protoc REQUIRED)
88
+endif()
89
+message(STATUS "Using protoc: ${Protobuf_PROTOC_EXECUTABLE}")
90
+
91
add_library(livekit_proto OBJECT ${FFI_PROTO_FILES})
92
target_include_directories(livekit_proto PRIVATE
93
"$<BUILD_INTERFACE:${PROTO_BINARY_DIR}>"
0 commit comments