mirror of https://github.com/qt/qtgrpc.git
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 <ivan.solovev@qt.io> Reviewed-by: Dennis Oberst <dennis.oberst@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
a9240736d1
commit
ae42ac9b1b
|
@ -44,6 +44,7 @@ int main(void)
|
|||
qt_config_compile_test(libprotoc
|
||||
LIBRARIES
|
||||
protobuf::libprotoc
|
||||
protobuf::libprotobuf
|
||||
CODE
|
||||
"#include <google/protobuf/compiler/plugin.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue