Currently we try both C and C++ when determining which PCH files to include. The problem with this approach is that if there are no C or C++ files (only headers) and the target has both C and C++ sources then the PCHs will be passed to the wrong compiler. The solution is less code, we already have the compiler, the compiler knows what language it is, so we don't need to walk both C and C++. Fixes #3068pull/3069/head
parent
d3d0d4affb
commit
b11035693c
1 changed files with 4 additions and 10 deletions
Loading…
Reference in new issue