Genex: Fix COMPILE_LANGUAGE in SYSTEM include directories and try_compile
When evaluating INTERFACE_SYSTEM_INCLUDE_DIRECTORIES
, or evaluating
INTERFACE_INCLUDE_DIRECTORIES
on an imported target, thread the
compile language through to the generator expression evaluator so
that it can support $<COMPILE_LANGUAGE:...>
.
Fixes: #17811 (closed)