summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmQTWrapUICommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmQTWrapUICommand.cxx b/Source/cmQTWrapUICommand.cxx
index 8ef8c18..3296053 100644
--- a/Source/cmQTWrapUICommand.cxx
+++ b/Source/cmQTWrapUICommand.cxx
@@ -82,7 +82,7 @@ bool cmQTWrapUICommand::InitialPass(std::vector<std::string> const& argsIn)
m_Makefile->GetCurrentOutputDirectory(),
"cxx",false);
std::string origname;
- if ( (*j)[0] == '/' )
+ if ( (*j)[0] == '/' || (*j)[1] == ':' )
{
origname = *j;
}