summaryrefslogtreecommitdiffstats
path: root/Source/cmIncludeCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2004-08-09 22:39:58 (GMT)
committerKen Martin <ken.martin@kitware.com>2004-08-09 22:39:58 (GMT)
commit3abd6306a9a7add42e22b3895190466aef6303f8 (patch)
tree35195adb8d60f87c7bb3838f8110826e2dface11 /Source/cmIncludeCommand.cxx
parentd8bada47a6b920af7589ed941e55fe8592d8a0dd (diff)
downloadCMake-3abd6306a9a7add42e22b3895190466aef6303f8.zip
CMake-3abd6306a9a7add42e22b3895190466aef6303f8.tar.gz
CMake-3abd6306a9a7add42e22b3895190466aef6303f8.tar.bz2
ENH: Allow user to overwrite Platforms files
Diffstat (limited to 'Source/cmIncludeCommand.cxx')
-rw-r--r--Source/cmIncludeCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmIncludeCommand.cxx b/Source/cmIncludeCommand.cxx
index 9adcec5..deb1098 100644
--- a/Source/cmIncludeCommand.cxx
+++ b/Source/cmIncludeCommand.cxx
@@ -35,7 +35,7 @@ bool cmIncludeCommand::InitialPass(std::vector<std::string> const& args)
optional = args[1] == "OPTIONAL";
}
- if(fname.find("/") == fname.npos)
+ if(!cmSystemTools::FileIsFullPath(fname.c_str()))
{
// Not a path. Maybe module.
std::string module = fname;