mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 21:00:17 -06:00
cmFileAPI: Resolve full path in PCH source comparison
Issue: 19927
This commit is contained in:
@@ -875,7 +875,7 @@ CompileData Target::BuildCompileData(cmSourceFile* sf)
|
||||
|
||||
if (!pchSource.empty() && !sf->GetProperty("SKIP_PRECOMPILE_HEADERS")) {
|
||||
std::string pchOptions;
|
||||
if (sf->GetFullPath() == pchSource) {
|
||||
if (sf->ResolveFullPath() == pchSource) {
|
||||
pchOptions =
|
||||
this->GT->GetPchCreateCompileOptions(this->Config, fd.Language);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user