From ae42ac9b1b751da11f9c97c40c65e1adf66b8239 Mon Sep 17 00:00:00 2001 From: Alexey Edelev Date: Tue, 15 Jul 2025 12:40:20 +0200 Subject: [PATCH] Work around missing protobuf::libprotoc include paths In some reference libprotobuf/libprotoc installations the include paths of the protobuf::libprotoc target are missing. Force using protobuf::libprotobuf as the dependency for the libprotoc compile test. Change-Id: I56bb84910bc178063d42292f04d7e75c04e9ca4d Reviewed-by: Ivan Solovev Reviewed-by: Dennis Oberst Reviewed-by: Alexandru Croitor --- src/protobuf/configure.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/src/protobuf/configure.cmake b/src/protobuf/configure.cmake index b19ed8d5..83a243d0 100644 --- a/src/protobuf/configure.cmake +++ b/src/protobuf/configure.cmake @@ -44,6 +44,7 @@ int main(void) qt_config_compile_test(libprotoc LIBRARIES protobuf::libprotoc + protobuf::libprotobuf CODE "#include