summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-09-10 14:20:43 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-09-17 12:39:42 (GMT)
commitb8877b1d62599bba7a014e95fbbd670f177243ce (patch)
treeba9c4f149b34ea7d124a5a49e6bf0f78d0802071 /Source
parent71a11252e95797113ecb1a969386f496b7d4861b (diff)
downloadCMake-b8877b1d62599bba7a014e95fbbd670f177243ce.zip
CMake-b8877b1d62599bba7a014e95fbbd670f177243ce.tar.gz
CMake-b8877b1d62599bba7a014e95fbbd670f177243ce.tar.bz2
QtAutogen: Add source files to target when only AUTORCC is used.
Add missing entry to if condition.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmQtAutoGenerators.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx
index a8bb317..4b8f810 100644
--- a/Source/cmQtAutoGenerators.cxx
+++ b/Source/cmQtAutoGenerators.cxx
@@ -392,7 +392,8 @@ void cmQtAutoGenerators::SetupAutoGenerateTarget(cmTarget const* target)
std::map<std::string, std::string> configUicOptions;
if (target->GetPropertyAsBool("AUTOMOC")
- || target->GetPropertyAsBool("AUTOUIC"))
+ || target->GetPropertyAsBool("AUTOUIC")
+ || target->GetPropertyAsBool("AUTORCC"))
{
this->SetupSourceFiles(target);
}