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 authored and Brad King committed 2013-05-28 09:43:29 -04:00
1 parent ab7cd03cea
commit 3de9bb48a5
1 file changed
+1 -1
+1 -1
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