FindImageMagick: Find v6 include dir (#14174)

The header files of ImageMagick are now located at
<prefix>/include/ImageMagick-6 instead of <prefix>/include/ImageMagick.
This commit is contained in:
Funda Wang 2013-05-28 06:17:49 +00:00 committed by Brad King
parent ab7cd03cea
commit 3de9bb48a5
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ function(FIND_IMAGEMAGICK_API component header)
${ImageMagick_INCLUDE_DIRS}
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ImageMagick\\Current;BinPath]/include"
PATH_SUFFIXES
ImageMagick
ImageMagick ImageMagick-6
DOC "Path to the ImageMagick include dir."
)
find_library(ImageMagick_${component}_LIBRARY