find_package(Protobuf REQUIRED) protobuf_generate_cpp(PROTO_SRCS PROTO_HDRS ${CMAKE_SOURCE_DIR}/tools/v2ray_geosite.proto) set(QV2RAY_PROTOBUF_LIBRARY protobuf::libprotobuf )