diff options
author | Daniel Eiband <daniel.eiband@brainlab.com> | 2019-11-11 12:03:29 (GMT) |
---|---|---|
committer | Daniel Eiband <daniel.eiband@brainlab.com> | 2019-11-11 12:03:29 (GMT) |
commit | ec2f130aa9bf97860789c524c0b9902856e4bf18 (patch) | |
tree | 1750473e54cead1483518aea987b3fddcf720feb /Source/cmFileAPICodemodel.cxx | |
parent | bae7a82ffab7350ae55a104d85d91b5d36347cae (diff) | |
download | CMake-ec2f130aa9bf97860789c524c0b9902856e4bf18.zip CMake-ec2f130aa9bf97860789c524c0b9902856e4bf18.tar.gz CMake-ec2f130aa9bf97860789c524c0b9902856e4bf18.tar.bz2 |
cmFileAPI: Resolve full path in PCH source comparison
Issue: 19927
Diffstat (limited to 'Source/cmFileAPICodemodel.cxx')
-rw-r--r-- | Source/cmFileAPICodemodel.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFileAPICodemodel.cxx b/Source/cmFileAPICodemodel.cxx index 48561de..a12b3c9 100644 --- a/Source/cmFileAPICodemodel.cxx +++ b/Source/cmFileAPICodemodel.cxx @@ -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 { |