CMAKE_AUTOUIC, unable to find uic files in subbirectories
When CMAKE_AUTOIUC is set to ON builds are unable to find the uic files when sub directories are used. This code where the gui stuff is in a sub directory AUTOUIC_SubDirs.zip generates the error: gui\MainWindow.h(4,10): fatal error C1083: Cannot open include file: 'ui_MainWindow.h'
For comparison when all files are in the same top-level directory there is no error, see: AUTOUIC_No_SubDirs.zip.