summaryrefslogtreecommitdiffstats
path: root/Source/cmAuxSourceDirectoryCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-04-26 12:39:27 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-04-26 12:39:27 (GMT)
commit7fe2737dd987d4a418a2678e2a9759e5f2cd55f2 (patch)
tree4af5ad4407029b68dbfbad7364af5e49380f235d /Source/cmAuxSourceDirectoryCommand.cxx
parent01ed151c27885538a18ad0e8dfc05bd0697ab827 (diff)
downloadCMake-7fe2737dd987d4a418a2678e2a9759e5f2cd55f2.zip
CMake-7fe2737dd987d4a418a2678e2a9759e5f2cd55f2.tar.gz
CMake-7fe2737dd987d4a418a2678e2a9759e5f2cd55f2.tar.bz2
BUG: fix for bug 6911, aux source dir was broken from a previous fix
Diffstat (limited to 'Source/cmAuxSourceDirectoryCommand.cxx')
-rw-r--r--Source/cmAuxSourceDirectoryCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmAuxSourceDirectoryCommand.cxx b/Source/cmAuxSourceDirectoryCommand.cxx
index 1fc3467..9004459 100644
--- a/Source/cmAuxSourceDirectoryCommand.cxx
+++ b/Source/cmAuxSourceDirectoryCommand.cxx
@@ -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 += "/";