Merge topic 'CPack-BugFixesSet'

b6f7881 Remove seemingly bogus duplicate CPACK_PACKAGE_FILE_NAME call.
This commit is contained in:
Brad King 2012-11-13 14:32:09 -05:00 committed by CMake Topic Stage
commit 7cdc95ac36

View File

@ -97,7 +97,6 @@ int cmCPackGenerator::PrepareNames()
}
tempDirectory += this->GetOption("CPACK_GENERATOR");
std::string topDirectory = tempDirectory;
this->GetOption("CPACK_PACKAGE_FILE_NAME");
const char* pfname = this->GetOption("CPACK_PACKAGE_FILE_NAME");
if(!pfname)
{