Commit aba80fef authored by Adriaan de Groot's avatar Adriaan de Groot 💬
Browse files

Look for imagemagick before just crapping out during compile

svn path=/trunk/koffice/; revision=545562
parent da18e378
......@@ -21,6 +21,8 @@
# IMAGEMAGICK_PATCH_VERSION, The patch version number
# IMAGEMAGICK_FOUND, If false, do not try to use ImageMagick.
SET(HAVE_MAGICK 0)
if (WIN32)
# Try to find the ImageMagick binary path.
......@@ -115,6 +117,7 @@ if(MAGICK_CONFIG_EXECUTABLE)
endif(MAGICK_CONFIG_EXECUTABLE)
if(IMAGEMAGICK_FOUND)
set(HAVE_MAGICK 1)
if(NOT IMAGEMAGICK_FIND_QUIETLY)
message(STATUS "Found Image Magick version ${IMAGEMAGICK_VERSION}: ${IMAGEMAGICK_LIBRARIES}")
endif(NOT IMAGEMAGICK_FIND_QUIETLY)
......
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