BUG: fix for bug 6911, aux source dir was broken from a previous fix

This commit is contained in:
Bill Hoffman 2008-04-26 08:39:27 -04:00
parent 01ed151c27
commit 7fe2737dd9
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ bool cmAuxSourceDirectoryCommand::InitialPass
std::string templateDirectory = args[0];
this->Makefile->AddExtraDirectory(templateDirectory.c_str());
std::string tdir;
if(!cmSystemTools::FileExists(templateDirectory.c_str()))
if(!cmSystemTools::FileIsFullPath(templateDirectory.c_str()))
{
tdir = this->Makefile->GetCurrentDirectory();
tdir += "/";