CMAKE_SIZEOF_VOID_P automatic guess at Modules/CMakeFindPackageMode.cmake does not work when cross-compiling
CMAKE_SIZEOF_VOID_P automatic guess at Modules/CMakeFindPackageMode.cmake does not work when cross-compiling, because the path CMAKE_SYSROOT on host OS must be passed before checking for the existence of /usr/lib64
with the full path on host OS.