mirror of
https://github.com/reactos/CMake.git
synced 2024-12-12 05:45:51 +00:00
c40401f05b
These tools are useful for converting image formats.
35 lines
859 B
CMake
35 lines
859 B
CMake
#
|
|
# This module finds if ImageMagick tools are installed and determines
|
|
# where the executables are. This code sets the following variables:
|
|
#
|
|
# IMAGEMAGICK_CONVERT_EXECUTABLE = the full path to the 'convert' utility
|
|
# IMAGEMAGICK_MOGRIFY_EXECUTABLE = the full path to the 'mogrify' utility
|
|
# IMAGEMAGICK_IMPORT_EXECUTABLE = the full path to the 'import' utility
|
|
# IMAGEMAGICK_MONTAGE_EXECUTABLE = the full path to the 'montage' utility
|
|
# IMAGEMAGICK_COMPOSITE_EXECUTABLE = the full path to the 'composite' utility
|
|
#
|
|
|
|
FIND_PROGRAM(IMAGEMAGICK_CONVERT_EXECUTABLE
|
|
NAMES convert
|
|
)
|
|
|
|
FIND_PROGRAM(IMAGEMAGICK_MOGRIFY_EXECUTABLE
|
|
NAMES mogrify
|
|
)
|
|
|
|
FIND_PROGRAM(IMAGEMAGICK_IMPORT_EXECUTABLE
|
|
NAMES import
|
|
)
|
|
|
|
FIND_PROGRAM(IMAGEMAGICK_MONTAGE_EXECUTABLE
|
|
NAMES montage
|
|
)
|
|
|
|
FIND_PROGRAM(IMAGEMAGICK_COMPOSITE_EXECUTABLE
|
|
NAMES composite
|
|
)
|
|
|
|
|
|
|
|
|