Linking error with exit code 2 CMake opencv embarcadero C++ builder 10.3

that looks sus.

anything named CMakeFiles is not compilable.

.o implies that either (1) the compiler was told to compile something of that name or (2) something expects that file to be compiled, which obviously makes no sense.