C++ module files targeting Visual Studio not being created with MSVC /interface property
I'm very new to CMake (though a very experienced developer) so it's unclear if this is a CMake bug or not but something is clearly wrong. I've installed the latest version (3.28.1) of CMake on Windows and after creating a Visual Studio solution from my CMakeLists.txt file (closely modeled after the example here), and then clicking the "Generate" button in "cmake-gui.exe" (at bottom of window), when I subsequently open the resulting Visual Studio solution (in VS2022 V17.8.3) and look at the properties of my module files (those specified via "FILE_SET CXX_MODULES FILES" in the above link), their "Compile As" property (right-click any module file in Visual Studio, click "Properties" and drill down to "Configuration Properties -> C/C++ -> Advanced -> Compile As") is incorrectly set to "Compile As C++ Code (/TP)". It should be set to "Compile as C++ Module Code (/interface)" instead (see Microsoft docs here). Note that changing the extension on my module files in "CMakeLists.txt" to ".ixx" (the default extension for modules in the Microsoft C++ compiler) makes no difference.
Either I'm missing something that needs to be done in my "CMakeLists.txt" file (specifically when targeting Microsoft though why isn't it being done automatically) or something is broken in CMake (surely VS developers aren't expected to manually set the "Compile As" property each time they build their solution using CMake).