BUG: fix for 6086 uninstall icon not set right
This commit is contained in:
parent
a488c2646c
commit
ad75cb7195
@ -115,7 +115,7 @@ int cmCPackNSISGenerator::CompressFiles(const char* outFileName,
|
|||||||
installerIconCode += this->GetOption("CPACK_NSIS_MUI_ICON");
|
installerIconCode += this->GetOption("CPACK_NSIS_MUI_ICON");
|
||||||
installerIconCode += "\"\n";
|
installerIconCode += "\"\n";
|
||||||
installerIconCode += "!define MUI_UNICON \"";
|
installerIconCode += "!define MUI_UNICON \"";
|
||||||
installerIconCode += this->GetOption("CPACK_NSIS_MUI_ICON");
|
installerIconCode += this->GetOption("CPACK_NSIS_MUI_UNIICON");
|
||||||
installerIconCode += "\"\n";
|
installerIconCode += "\"\n";
|
||||||
this->SetOptionIfNotSet("CPACK_NSIS_INSTALLER_MUI_ICON_CODE",
|
this->SetOptionIfNotSet("CPACK_NSIS_INSTALLER_MUI_ICON_CODE",
|
||||||
installerIconCode.c_str());
|
installerIconCode.c_str());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user