diff options
Diffstat (limited to 'Source/cmGetSourceFilePropertyCommand.cxx')
-rw-r--r-- | Source/cmGetSourceFilePropertyCommand.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmGetSourceFilePropertyCommand.cxx b/Source/cmGetSourceFilePropertyCommand.cxx index 4d444bc..2b01f58 100644 --- a/Source/cmGetSourceFilePropertyCommand.cxx +++ b/Source/cmGetSourceFilePropertyCommand.cxx @@ -38,6 +38,11 @@ bool cmGetSourceFilePropertyCommand::InitialPass( } if(sf) { + if(args[2] == "LOCATION") + { + // Make sure the location is known. + sf->GetFullPath(); + } const char *prop = sf->GetProperty(args[2].c_str()); if (prop) { |