Skip to content
Snippets Groups Projects
Commit f6c6032e authored by Timo Röhling's avatar Timo Röhling Committed by Brad King
Browse files

FindImageMagick: Fix ARCH_INCLUDE_DIR detection for version 7 and newer

The `magick-baseconfig.h` header has been moved to a different subdirectory.

See https://bugs.debian.org/1087233 for the original bug report in Debian.
parent 4f0eb0a4
No related branches found
No related tags found
No related merge requests found
......@@ -133,7 +133,9 @@ function(FIND_IMAGEMAGICK_API component header)
NO_DEFAULT_PATH
)
find_path(ImageMagick_${component}_ARCH_INCLUDE_DIR
NAMES magick/magick-baseconfig.h
NAMES
magick/magick-baseconfig.h
MagickCore/magick-baseconfig.h
HINTS
${PC_${component}_INCLUDEDIR}
${PC_${component}_INCLUDE_DIRS}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment