How CXX_SCAN_FOR_MODULES is connected to precompiled headers?

So it shouldn’t happen after all? That’s good to know because this behavior breaks the development on MSVS 2022 for me so I have to disable CMAKE_CXX_SCAN_FOR_MODULES as nothing else seems to help (see this bug report).