❔ protobuf not generating proto files

CCrosRoad9512/21/2022
INCLUDE(FindProtobuf)
FIND_PACKAGE(Protobuf REQUIRED)
INCLUDE_DIRECTORIES(${PROTOBUF_INCLUDE_DIR})
PROTOBUF_GENERATE_CPP(PROTO_SRC PROTO_HEADER test.proto)
ADD_LIBRARY(proto ${PROTO_SRC} ${PROTO_HEADER})

i'm confused why it doesn't work, have protobuf installed, no error but file test.pb.h not generating
Image
CCrosRoad9512/21/2022
people say i can use just "PROTOBUF_GENERATE" command, but it not working too
Pphaseshift12/21/2022
Sir, this is a c# discord
CCrosRoad9512/21/2022
oh, yea i didn't notice xD i'm on both
AAccord12/22/2022
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.