summaryrefslogtreecommitdiff
path: root/Modules/FindImageMagick.cmake
blob: 6837fad16f86cb184302a4976448d9d0a7c52440 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#
# 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
)