mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 22:31:18 -05:00
9945b3b565
Fix logic from commit 9df1f33c9a (VisualStudio: move PCH rules to
projects when possible., 2020-10-15, v3.20.0-rc1~638^2) to explicitly
disable PCH on sources that should not use the target-wide PCH rules.
Fixes: #21827
8 lines
96 B
C
8 lines
96 B
C
#ifdef CXX_PCH
|
|
# error "CXX PCH included in C source."
|
|
#endif
|
|
int no_pch(void)
|
|
{
|
|
return 0;
|
|
}
|