V3.18.0 breaks Qt precompiled headers
The attached project builds properly when configured from a 'VS' subdirectory using
cmake .. -G "Visual Studio 16 2019" -A x64
... in CMake v3.16.2, but when used with v3.18.0 it fails on compilation with the error:
C:\Users\stephem\Desktop\CMake3.18ErrorReproducer\VS\CommonPCH_Lib_autogen\mocs_compilation.cpp : fatal error C1083: Cannot open precompiled header file: 'C:/Users/stephem/Desktop/CMake3.18ErrorReproducer/VS/CommonPCH_Lib.pch': No such file or directory 2>
(N.B. To try this out yourselves you'll obviously need to change the definition of CMAKE_PREFIX_PATH given in CMakeLists.txt to point it to your own installation of Qt).