summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-11-26 00:17:54 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-11-27 18:06:12 (GMT)
commit754b3212720d0846b1b5847fae888bc79bb8cfc3 (patch)
treeabdf5e75f07a8c38e1d599a48989ab5dbc6f440d /Source
parentd05e0aa845a99d2a04f61578ba9882ba9a2949c4 (diff)
downloadCMake-754b3212720d0846b1b5847fae888bc79bb8cfc3.zip
CMake-754b3212720d0846b1b5847fae888bc79bb8cfc3.tar.gz
CMake-754b3212720d0846b1b5847fae888bc79bb8cfc3.tar.bz2
QtAutogen: Use config without prefix in map key.
This is used by IDE generators to select config-specific includes and defines.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmQtAutoGenerators.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx
index a7d20ae..017ac29 100644
--- a/Source/cmQtAutoGenerators.cxx
+++ b/Source/cmQtAutoGenerators.cxx
@@ -513,7 +513,7 @@ void cmQtAutoGenerators::SetupAutoMocTarget(cmTarget* target,
config_moc_compile_defs);
if (config_moc_incs != _moc_incs)
{
- configIncludes["_moc_incs_" + *li] =
+ configIncludes[*li] =
cmLocalGenerator::EscapeForCMake(config_moc_incs.c_str());
if(_moc_incs.empty())
{
@@ -522,7 +522,7 @@ void cmQtAutoGenerators::SetupAutoMocTarget(cmTarget* target,
}
if (config_moc_compile_defs != _moc_compile_defs)
{
- configDefines["_moc_compile_defs_" + *li] =
+ configDefines[*li] =
cmLocalGenerator::EscapeForCMake(config_moc_compile_defs.c_str());
if(_moc_compile_defs.empty())
{