1
0

FindImageMagick.cmake 859 B

12345678910111213141516171819202122232425262728293031323334
  1. #
  2. # This module finds if ImageMagick tools are installed and determines
  3. # where the executables are. This code sets the following variables:
  4. #
  5. # IMAGEMAGICK_CONVERT_EXECUTABLE = the full path to the 'convert' utility
  6. # IMAGEMAGICK_MOGRIFY_EXECUTABLE = the full path to the 'mogrify' utility
  7. # IMAGEMAGICK_IMPORT_EXECUTABLE = the full path to the 'import' utility
  8. # IMAGEMAGICK_MONTAGE_EXECUTABLE = the full path to the 'montage' utility
  9. # IMAGEMAGICK_COMPOSITE_EXECUTABLE = the full path to the 'composite' utility
  10. #
  11. FIND_PROGRAM(IMAGEMAGICK_CONVERT_EXECUTABLE
  12. NAMES convert
  13. )
  14. FIND_PROGRAM(IMAGEMAGICK_MOGRIFY_EXECUTABLE
  15. NAMES mogrify
  16. )
  17. FIND_PROGRAM(IMAGEMAGICK_IMPORT_EXECUTABLE
  18. NAMES import
  19. )
  20. FIND_PROGRAM(IMAGEMAGICK_MONTAGE_EXECUTABLE
  21. NAMES montage
  22. )
  23. FIND_PROGRAM(IMAGEMAGICK_COMPOSITE_EXECUTABLE
  24. NAMES composite
  25. )