cmake: fix cross-compilation problems
authorAlexander Alekhin <alexander.a.alekhin@gmail.com>
Thu, 5 Aug 2021 11:42:58 +0000 (11:42 +0000)
committerAlexander Alekhin <alexander.a.alekhin@gmail.com>
Thu, 5 Aug 2021 11:42:58 +0000 (11:42 +0000)
commit4ff76cad2a0b204a43ec4d57aebe65aa2a616543
treea40fd51c9ae02b4e110cd5db680640fb9c78f6f1
parent5af09e73f250946e3e5447099a23c1e07131b1fe
cmake: fix cross-compilation problems

- unexpected pkg-config module (we should not use host binary)
- bump cmake_minimum_required to 3.5 in toolchain files
modules/highgui/cmake/init.cmake
modules/videoio/cmake/init.cmake
platforms/linux/gnu.toolchain.cmake
platforms/linux/riscv.toolchain.cmake