summaryrefslogtreecommitdiffstats
path: root/Source/cmQTWrapCPPCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-08-01 13:24:40 (GMT)
committerBrad King <brad.king@kitware.com>2005-08-01 13:24:40 (GMT)
commit83a1af15ab2f2a7a894db510441dd13428d97beb (patch)
treeb11190db3d89c9172a6624fdfff19b5f320f3667 /Source/cmQTWrapCPPCommand.cxx
parent10b6e2a621872dbaa79247550eec8fef681c69ca (diff)
downloadCMake-83a1af15ab2f2a7a894db510441dd13428d97beb.zip
CMake-83a1af15ab2f2a7a894db510441dd13428d97beb.tar.gz
CMake-83a1af15ab2f2a7a894db510441dd13428d97beb.tar.bz2
BUG: Patch from Filipe Sousa. QT_WRAP_CPP should generate the file moc_dlgmain.ui.cxx instead of moc_dlgmain.cxx.
Diffstat (limited to 'Source/cmQTWrapCPPCommand.cxx')
-rw-r--r--Source/cmQTWrapCPPCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmQTWrapCPPCommand.cxx b/Source/cmQTWrapCPPCommand.cxx
index edf215a..39eb362 100644
--- a/Source/cmQTWrapCPPCommand.cxx
+++ b/Source/cmQTWrapCPPCommand.cxx
@@ -57,7 +57,7 @@ bool cmQTWrapCPPCommand::InitialPass(std::vector<std::string> const& argsIn)
{
file.SetProperty("ABSTRACT",curr->GetProperty("ABSTRACT"));
}
- std::string srcName = cmSystemTools::GetFilenameWithoutExtension(*j);
+ std::string srcName = cmSystemTools::GetFilenameWithoutLastExtension(*j);
std::string newName = "moc_" + srcName;
file.SetName(newName.c_str(), m_Makefile->GetCurrentOutputDirectory(),
"cxx",false);