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:
parent
ab7cd03cea
commit
3de9bb48a5
|
@ -81,7 +81,7 @@ function(FIND_IMAGEMAGICK_API component header)
|
||||||
${ImageMagick_INCLUDE_DIRS}
|
${ImageMagick_INCLUDE_DIRS}
|
||||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ImageMagick\\Current;BinPath]/include"
|
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ImageMagick\\Current;BinPath]/include"
|
||||||
PATH_SUFFIXES
|
PATH_SUFFIXES
|
||||||
ImageMagick
|
ImageMagick ImageMagick-6
|
||||||
DOC "Path to the ImageMagick include dir."
|
DOC "Path to the ImageMagick include dir."
|
||||||
)
|
)
|
||||||
find_library(ImageMagick_${component}_LIBRARY
|
find_library(ImageMagick_${component}_LIBRARY
|
||||||
|
|
Loading…
Reference in New Issue