diff options
author | Ken Martin <ken.martin@kitware.com> | 2003-06-05 19:18:16 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2003-06-05 19:18:16 (GMT) |
commit | adbb5c5e79cae2235727309d40e1f7d0d195de1c (patch) | |
tree | c63a88724eb7aa3e5cc99957c79537eb47af0dd9 /Source/cmMakefile.cxx | |
parent | 59c70d9df7539c185a3321e4aec3a77adc3cf83b (diff) | |
download | CMake-adbb5c5e79cae2235727309d40e1f7d0d195de1c.zip CMake-adbb5c5e79cae2235727309d40e1f7d0d195de1c.tar.gz CMake-adbb5c5e79cae2235727309d40e1f7d0d195de1c.tar.bz2 |
more changes to handle full paths correctly
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 0aacb35..b256314 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -1722,8 +1722,8 @@ cmSourceFile* cmMakefile::GetOrCreateSource(const char* sourceName, cmSourceFile* cmMakefile::AddSource(cmSourceFile const&sf) { // check to see if it exists - cmSourceFile* ret = this->GetSource(sf.GetSourceName().c_str()); - if(ret && ret->GetSourceExtension() == sf.GetSourceExtension()) + cmSourceFile* ret = this->GetSource(sf.GetFullPath().c_str()); + if(ret) { return ret; } |