diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-11-26 00:17:54 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-11-27 18:06:12 (GMT) |
commit | 754b3212720d0846b1b5847fae888bc79bb8cfc3 (patch) | |
tree | abdf5e75f07a8c38e1d599a48989ab5dbc6f440d /Source | |
parent | d05e0aa845a99d2a04f61578ba9882ba9a2949c4 (diff) | |
download | CMake-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.cxx | 4 |
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()) { |