Cmake/ninja prepare_cross_compiling

I am trying to build tdlib td telegram which makes me confused about how to include this command in the Makefile

cmake --build . --target prepare_cross_compiling