mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-14 00:14:18 +00:00
Projucer: Don't assert when no icons are specified in Code::Blocks exporter
This commit is contained in:
parent
6a9f9cd550
commit
450ac8ade5
1 changed files with 4 additions and 1 deletions
|
|
@ -781,7 +781,10 @@ private:
|
|||
if (hasResourceFile())
|
||||
{
|
||||
const auto iconFile = getTargetFolder().getChildFile ("icon.ico");
|
||||
build_tools::writeMacIcon (getIcons(), iconFile);
|
||||
|
||||
if (! build_tools::asArray (getIcons()).isEmpty())
|
||||
build_tools::writeMacIcon (getIcons(), iconFile);
|
||||
|
||||
auto rcFile = getTargetFolder().getChildFile ("resources.rc");
|
||||
MSVCProjectExporterBase::createRCFile (project, iconFile, rcFile);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue