try_compile() of a single source file will use the right compiler and
compiler flags which were not handled by the execute_process() call
before. In particular, this allows to use clang++ as the compiler and
pass CMAKE_CXX_COMPILER_TARGET=x86_64-w64-mingw32 to cmake instead of
relying on the compiler being x86_64-w64-mingw32-g++.
try_compile() of a single source file will use the right compiler and compiler flags which were not handled by the execute_process() call before. In particular, this allows to use clang++ as the compiler and pass CMAKE_CXX_COMPILER_TARGET=x86_64-w64-mingw32 to cmake instead of relying on the compiler being x86_64-w64-mingw32-g++.