summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-09-15 12:41:07 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-10-24 10:30:41 (GMT)
commit9c87d9cc3e7a046f79ff62eda81203ef424e4a14 (patch)
treeda7af3604feb5e81e122aaabbc8a84345ba90440 /Source/cmGlobalGenerator.cxx
parent84218e1870ab075c9e2be1f2947358702c849fed (diff)
downloadCMake-9c87d9cc3e7a046f79ff62eda81203ef424e4a14.zip
CMake-9c87d9cc3e7a046f79ff62eda81203ef424e4a14.tar.gz
CMake-9c87d9cc3e7a046f79ff62eda81203ef424e4a14.tar.bz2
Add automatic rcc invocation for Qt.
This replaces the need to invoke qt4_add_resources by allowing adding the source .qrc file directly to the target sources.
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 3fb6848..a8bb3fc 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -1226,7 +1226,8 @@ void cmGlobalGenerator::CreateQtAutoGeneratorsTargets()
target.GetType() == cmTarget::OBJECT_LIBRARY)
{
if((target.GetPropertyAsBool("AUTOMOC")
- || target.GetPropertyAsBool("AUTOUIC"))
+ || target.GetPropertyAsBool("AUTOUIC")
+ || target.GetPropertyAsBool("AUTORCC"))
&& !target.IsImported())
{
cmQtAutoGenerators autogen;