]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: find Protobuf via cmake config before module mode 69449/head
authorSun Yuechi <sunyuechi@iscas.ac.cn>
Fri, 12 Jun 2026 10:17:26 +0000 (18:17 +0800)
committerSun Yuechi <sunyuechi@iscas.ac.cn>
Sat, 13 Jun 2026 12:15:25 +0000 (20:15 +0800)
commitede8e34f61baf53d3bd516c4492c09c433cefbc0
tree0f2c760fa67bd40b7e473d729f94acba38663bfa
parent84ac1de6438cf1de3eabf19206b0bef5ef6f758d
cmake: find Protobuf via cmake config before module mode

Module-mode FindProtobuf defines only the classic targets, so
gRPCConfig.cmake's find_dependency(Protobuf) fails on the partial
export set. Prefer config mode; fall back to module mode.

Signed-off-by: Sun Yuechi <sunyuechi@iscas.ac.cn>
src/CMakeLists.txt