]> git.pld-linux.org Git - packages/cmake.git/blame_incremental - imagemagick7.patch
- add support for ImageMagick 7
[packages/cmake.git] / imagemagick7.patch
... / ...
CommitLineData
1--- cmake-3.5.2/Modules/FindImageMagick.cmake~ 2016-04-15 15:41:21.000000000 +0200
2+++ cmake-3.5.2/Modules/FindImageMagick.cmake 2016-12-25 21:47:56.573276549 +0100
3@@ -114,7 +114,7 @@
4 ${ImageMagick_INCLUDE_DIRS}
5 "[HKEY_LOCAL_MACHINE\\SOFTWARE\\ImageMagick\\Current;BinPath]/include"
6 PATH_SUFFIXES
7- ImageMagick ImageMagick-6
8+ ImageMagick ImageMagick-6 ImageMagick-7
9 DOC "Path to the ImageMagick arch-independent include dir."
10 )
11 find_path(ImageMagick_${component}_ARCH_INCLUDE_DIR
12@@ -126,7 +126,7 @@
13 ${ImageMagick_INCLUDE_DIRS}
14 "[HKEY_LOCAL_MACHINE\\SOFTWARE\\ImageMagick\\Current;BinPath]/include"
15 PATH_SUFFIXES
16- ImageMagick ImageMagick-6
17+ ImageMagick ImageMagick-6 ImageMagick-7
18 DOC "Path to the ImageMagick arch-specific include dir."
19 )
20 find_library(ImageMagick_${component}_LIBRARY
21@@ -207,17 +207,17 @@
22 )
23 if(component STREQUAL "Magick++")
24 FIND_IMAGEMAGICK_API(Magick++ Magick++.h
25- Magick++ CORE_RL_Magick++_ Magick++-6.Q16 Magick++-Q16 Magick++-6.Q8 Magick++-Q8 Magick++-6.Q16HDRI Magick++-Q16HDRI Magick++-6.Q8HDRI Magick++-Q8HDRI
26+ Magick++ CORE_RL_Magick++_ Magick++-7.Q16 Magick++-6.Q16 Magick++-Q16 Magick++-7.Q8 Magick++-6.Q8 Magick++-Q8 Magick++-7.Q16HDRI Magick++-6.Q16HDRI Magick++-Q16HDRI Magick++-7.Q8HDRI Magick++-6.Q8HDRI Magick++-Q8HDRI
27 )
28 list(APPEND ImageMagick_REQUIRED_VARS ImageMagick_Magick++_LIBRARY)
29 elseif(component STREQUAL "MagickWand")
30 FIND_IMAGEMAGICK_API(MagickWand wand/MagickWand.h
31- Wand MagickWand CORE_RL_wand_ MagickWand-6.Q16 MagickWand-Q16 MagickWand-6.Q8 MagickWand-Q8 MagickWand-6.Q16HDRI MagickWand-Q16HDRI MagickWand-6.Q8HDRI MagickWand-Q8HDRI
32+ Wand MagickWand CORE_RL_wand_ MagickWand-7.Q16 MagickWand-6.Q16 MagickWand-Q16 MagickWand-7.Q8 MagickWand-6.Q8 MagickWand-Q8 MagickWand-7.Q16HDRI MagickWand-6.Q16HDRI MagickWand-Q16HDRI MagickWand-7.Q8HDRI MagickWand-6.Q8HDRI MagickWand-Q8HDRI
33 )
34 list(APPEND ImageMagick_REQUIRED_VARS ImageMagick_MagickWand_LIBRARY)
35 elseif(component STREQUAL "MagickCore")
36 FIND_IMAGEMAGICK_API(MagickCore magick/MagickCore.h
37- Magick MagickCore CORE_RL_magick_ MagickCore-6.Q16 MagickCore-Q16 MagickCore-6.Q8 MagickCore-Q8 MagickCore-6.Q16HDRI MagickCore-Q16HDRI MagickCore-6.Q8HDRI MagickCore-Q8HDRI
38+ Magick MagickCore CORE_RL_magick_ MagickCore-7.Q16 MagickCore-6.Q16 MagickCore-Q16 MagickCore-7.Q8 MagickCore-6.Q8 MagickCore-Q8 MagickCore-7.Q16HDRI MagickCore-6.Q16HDRI MagickCore-Q16HDRI MagickCore-7.Q8HDRI MagickCore-6.Q8HDRI MagickCore-Q8HDRI
39 )
40 list(APPEND ImageMagick_REQUIRED_VARS ImageMagick_MagickCore_LIBRARY)
41 else()
This page took 0.019885 seconds and 4 git commands to generate.