CMAKE_${lang}_CL_SHOWINCLUDES_PREFIX is not properly set for RC
#20506 (closed) still persists for RC compiler, please see the section of CMakeFiles/rules.ninja
below:
#############################################
# Rule for compiling RC files.
rule RC_COMPILER__zlib_Debug
depfile = $DEP_FILE
deps = gcc
command = "" RC $in $DEP_FILE $out "Note: including file: " "/opt/msvc/bin/x64/cl" /opt/msvc/bin/x64/rc $DEFINES $INCLUDES $FLAGS /fo $out $in
description = Building RC object $out