Fix RunCMake.include_directories test case for CMP0021

Enable the C++ language before adding targets with .cpp sources.
Merge topic 'error-on-exported-missing-include-dir' into next

408961e Fix RunCMake.include_directories test case for CMP0021