I am trying to write a cross platform project using CMake and OpenCV-4.5.0. OpenCV is built from sources. This is my main CMakeLists.txt:
CMakeLists.txt
cmake_m