diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2016-11-30 11:23:04 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2016-12-06 14:59:26 (GMT) |
commit | 6f024008ce2bdf11bec1ff1174ee68f9a6da6fcb (patch) | |
tree | a3a99e24e36305e012c90e4aa87549e79c21e177 /Source/cmQtAutoGeneratorInitializer.cxx | |
parent | ff1a01b743dc70e555fb0fc61eb4d019eb25df76 (diff) | |
download | CMake-6f024008ce2bdf11bec1ff1174ee68f9a6da6fcb.zip CMake-6f024008ce2bdf11bec1ff1174ee68f9a6da6fcb.tar.gz CMake-6f024008ce2bdf11bec1ff1174ee68f9a6da6fcb.tar.bz2 |
QtAutogen: Remove unused intermediate definition in makefile
Diffstat (limited to 'Source/cmQtAutoGeneratorInitializer.cxx')
-rw-r--r-- | Source/cmQtAutoGeneratorInitializer.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/cmQtAutoGeneratorInitializer.cxx b/Source/cmQtAutoGeneratorInitializer.cxx index 44323bc..1bdfe32 100644 --- a/Source/cmQtAutoGeneratorInitializer.cxx +++ b/Source/cmQtAutoGeneratorInitializer.cxx @@ -634,8 +634,7 @@ static void RccSetupAutoTarget(cmGeneratorTarget const* target) } } makefile->AddDefinition( - "_qt_rcc_inputs_" + target->GetName(), - cmOutputConverter::EscapeForCMake(qrcInputs).c_str()); + "_qt_rcc_inputs", cmOutputConverter::EscapeForCMake(qrcInputs).c_str()); makefile->AddDefinition( "_rcc_files", cmOutputConverter::EscapeForCMake(_rcc_files).c_str()); @@ -897,9 +896,6 @@ void cmQtAutoGeneratorInitializer::SetupAutoGenerateTarget( inputFile += "/Modules/AutogenInfo.cmake.in"; std::string outputFile = targetDir; outputFile += "/AutogenInfo.cmake"; - makefile->AddDefinition( - "_qt_rcc_inputs", - makefile->GetDefinition("_qt_rcc_inputs_" + target->GetName())); makefile->ConfigureFile(inputFile.c_str(), outputFile.c_str(), false, true, false); |