With -DWITH_GSTREAMER=ON only cannot enable gstreamer

You are right and that’s the point @berak. cmake can not find my cross-compile gstreamer. I have confirmed that for local compilation, there will be no such problem, and DWITH_GSTREAMER=ON can enable gstreamer.

So the question is: how can I have cmake find my cross-compile gstreamer?