CMake 3.18.0 tries to use Borland C/C++ instead of MinGW
I have a Windows system with only the MinGW-w64 GCC compiler.
Since CMake 3.18.0 CMake gives the error The C compiler "D:/Prog/winlibs64-9.2.0/custombuilt/bin/bcc.exe" is not able to compile a simple test program.
where D:/Prog/winlibs64-9.2.0/custombuilt/bin
is the location of gcc.exe
and g++.exe
.