cmake: fix MSVC PCH support

I'm not sure if the previous implementation ever worked.
This commit is contained in:
Scott Mansell 2022-04-27 18:57:13 +12:00 committed by Admiral H. Curtiss
commit 0909e00117
No known key found for this signature in database
GPG key ID: F051B4C4044F33FB
5 changed files with 37 additions and 6 deletions

4
Source/PCH/nopch/pch.h Normal file
View file

@ -0,0 +1,4 @@
// dummy include to help with disabling pch for a single file
// cmake doesn't provide a clean way to disable MSVC's force include option
// So we can just point it at an empty file instead.