Clang: Implement CMAKE_${LANG}_COMPILER_TARGET for all variants on windows
I had to move the taking into account of the CMAKE_${lang}_COMPILER_TARGET
in the compiler id detection into the CMAKE_${lang}_COMPILER_ID_TEST_FLAGS_FIRST
variable in order for the clang variant (in case of MSVC compatibility) to be correctly picked up.
Fixes: #21097 (closed)
Edited by Brad King