Troubles installing OpenCV 4.x on Windows

try to delete build/CmakeCache.txt,
and re-run cmake(-gui) from scratch.

first thing it does, is ask (there are boxes !) about your compiler