Commit 0aad2793 authored by Rashad Kanavath's avatar Rashad Kanavath

COMP: DOC: use find_program( convert) instead of find_package(ImageMagick)

parent 16b76171
......@@ -81,7 +81,7 @@ ENDIF( BUILD_FIGURES )
# Find ImageMagick tools
# This is used to convert image formats
#
INCLUDE (${CMAKE_ROOT}/Modules/FindImageMagick.cmake)
find_program(IMAGEMAGICK_CONVERT_EXECUTABLE convert)
IF(NOT IMAGEMAGICK_CONVERT_EXECUTABLE)
MESSAGE(FATAL_ERROR "ImageMagick convert utility was not found. Please pass to advanced mode and provide its full path")
ENDIF(NOT IMAGEMAGICK_CONVERT_EXECUTABLE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment