FindPng2Ico¶
Try to find png2ico.
If the png2ico executable is not in your PATH, you can provide
an alternative name or full path location with the Png2Ico_EXECUTABLE
variable.
This will define the following variables:
Png2Ico_FOUND
True if png2ico is available.
Png2Ico_EXECUTABLE
The png2ico executable.
If Png2Ico_FOUND
is TRUE, it will also define the following imported
target:
Png2Ico::Png2Ico
The png2ico executable.
and the following variables:
Png2Ico_HAS_COLORS_ARGUMENT
Whether png2ico accepts a
--colors
argument. Matthias Benkmann’s tool does, while the version of png2ico from the “KDE On Windows” (kdewin) project does not.Png2Ico_HAS_RCFILE_ARGUMENT
Whether png2ico accepts an
--rcfile
argument. The version of png2ico from the “KDE On Windows” (kdewin) project does, while Matthias Benkmann’s tool does not.
Since 1.7.0.