diff --git a/Source/cmQTWrapUICommand.cxx b/Source/cmQTWrapUICommand.cxx index 8ef8c18f1..3296053b8 100644 --- a/Source/cmQTWrapUICommand.cxx +++ b/Source/cmQTWrapUICommand.cxx @@ -82,7 +82,7 @@ bool cmQTWrapUICommand::InitialPass(std::vector const& argsIn) m_Makefile->GetCurrentOutputDirectory(), "cxx",false); std::string origname; - if ( (*j)[0] == '/' ) + if ( (*j)[0] == '/' || (*j)[1] == ':' ) { origname = *j; }