FindPkgConfig: Add crosscompilation example to documentation
See this discussion.
An example of how to use FindPkgConfig
with crosscompilation in the documentation would be useful.
For example:
set(ENV{PKG_CONFIG_DIR} "")
set(ENV{PKG_CONFIG_LIBDIR} "${CMAKE_SYSROOT}/usr/lib/${CMAKE_LIBRARY_ARCHITECTURE}/pkgconfig")
set(ENV{PKG_CONFIG_SYSROOT_DIR} ${CMAKE_SYSROOT})