summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutomoc.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2011-11-09 23:57:21 (GMT)
committerStephen Kelly <steveire@gmail.com>2011-11-09 23:57:21 (GMT)
commitbafe5cc6e90ebb510dfe992c8a7a1eca55826813 (patch)
treef26d804aac8c8a4853427579cea455d80ff2a08e /Source/cmQtAutomoc.cxx
parent74b9392eb9311639612d175bdc1c811560495659 (diff)
downloadCMake-bafe5cc6e90ebb510dfe992c8a7a1eca55826813.zip
CMake-bafe5cc6e90ebb510dfe992c8a7a1eca55826813.tar.gz
CMake-bafe5cc6e90ebb510dfe992c8a7a1eca55826813.tar.bz2
Fix style.
Diffstat (limited to 'Source/cmQtAutomoc.cxx')
-rw-r--r--Source/cmQtAutomoc.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmQtAutomoc.cxx b/Source/cmQtAutomoc.cxx
index 861e5bb..72249bc 100644
--- a/Source/cmQtAutomoc.cxx
+++ b/Source/cmQtAutomoc.cxx
@@ -53,7 +53,7 @@ void cmQtAutomoc::SetupAutomocTarget(cmTarget* target)
std::string qtMajorVersion = makefile->GetSafeDefinition("QT_VERSION_MAJOR");
if (qtMajorVersion == "")
{
- qtMajorVersion = makefile->GetSafeDefinition("Qt5SrcTools_VERSION_MAJOR");
+ qtMajorVersion = makefile->GetSafeDefinition("Qt5SrcTools_VERSION_MAJOR");
}
if (qtMajorVersion != "4" && qtMajorVersion != "5")
{
@@ -221,7 +221,8 @@ bool cmQtAutomoc::ReadAutomocInfoFile(cmMakefile* makefile,
this->QtMajorVersion = makefile->GetSafeDefinition("AM_QT_VERSION_MAJOR");
if (this->QtMajorVersion == "")
{
- this->QtMajorVersion = makefile->GetSafeDefinition("AM_Qt5SrcTools_VERSION_MAJOR");
+ this->QtMajorVersion = makefile->GetSafeDefinition(
+ "AM_Qt5SrcTools_VERSION_MAJOR");
}
this->Sources = makefile->GetSafeDefinition("AM_SOURCES");
this->Headers = makefile->GetSafeDefinition("AM_HEADERS");