diff options
author | Ken Martin <ken.martin@kitware.com> | 2004-08-09 18:39:58 -0400 |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2004-08-09 18:39:58 -0400 |
commit | 3abd6306a9a7add42e22b3895190466aef6303f8 (patch) | |
tree | 35195adb8d60f87c7bb3838f8110826e2dface11 /Source/cmIncludeCommand.cxx | |
parent | d8bada47a6b920af7589ed941e55fe8592d8a0dd (diff) | |
download | cmake-3abd6306a9a7add42e22b3895190466aef6303f8.tar.gz |
ENH: Allow user to overwrite Platforms files
Diffstat (limited to 'Source/cmIncludeCommand.cxx')
-rw-r--r-- | Source/cmIncludeCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmIncludeCommand.cxx b/Source/cmIncludeCommand.cxx index 9adcec58d7..deb10983ab 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; |