From 3abd6306a9a7add42e22b3895190466aef6303f8 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Mon, 9 Aug 2004 18:39:58 -0400 Subject: ENH: Allow user to overwrite Platforms files --- Source/cmIncludeCommand.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 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; -- cgit v0.12