minor fix
This commit is contained in:
parent
72be61fb57
commit
050190d455
|
@ -289,6 +289,10 @@ void cmLocalVisualStudio6Generator::WriteDSPFile(std::ostream& fout,
|
|||
{
|
||||
std::string dep = cmSystemTools::GetFilenameName(
|
||||
outsf->GetCustomCommand()->GetDepends()[i]);
|
||||
if (cmSystemTools::GetFilenameLastExtension(dep) == ".exe")
|
||||
{
|
||||
dep = cmSystemTools::GetFilenameWithoutLastExtension(dep);
|
||||
}
|
||||
// watch for target dependencies,
|
||||
std::string libPath = dep + "_CMAKE_PATH";
|
||||
const char* cacheValue = m_Makefile->GetDefinition(libPath.c_str());
|
||||
|
|
Loading…
Reference in New Issue