summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorFunda Wang <fundawang@gmail.com>2013-05-28 06:17:49 (GMT)
committerBrad King <brad.king@kitware.com>2013-05-28 13:43:29 (GMT)
commit3de9bb48a5d7976d5f22e3c7c0f95cfda102ed8a (patch)
tree81f6ae85c987396958e62f8ce4f5b2b33a5137af /Modules
parentab7cd03cea8651fa1aea9c109fabc69b4e247062 (diff)
downloadCMake-3de9bb48a5d7976d5f22e3c7c0f95cfda102ed8a.zip
CMake-3de9bb48a5d7976d5f22e3c7c0f95cfda102ed8a.tar.gz
CMake-3de9bb48a5d7976d5f22e3c7c0f95cfda102ed8a.tar.bz2
FindImageMagick: Find v6 include dir (#14174)
The header files of ImageMagick are now located at <prefix>/include/ImageMagick-6 instead of <prefix>/include/ImageMagick.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindImageMagick.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindImageMagick.cmake b/Modules/FindImageMagick.cmake
index cd97b38..02a5777 100644
--- a/Modules/FindImageMagick.cmake
+++ b/Modules/FindImageMagick.cmake
@@ -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