Created
March 1, 2013 11:29
-
-
Save slava888/5064067 to your computer and use it in GitHub Desktop.
Patch for FindImageMagick.cmake to be able to find -Q16 suffixed libraries
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- FindImageMagick.cmake.orig 2012-11-27 14:26:32.000000000 +0100 | |
+++ FindImageMagick.cmake 2013-03-01 12:15:27.097198488 +0100 | |
@@ -147,17 +147,17 @@ | |
) | |
if(component STREQUAL "Magick++") | |
FIND_IMAGEMAGICK_API(Magick++ Magick++.h | |
- Magick++ CORE_RL_Magick++_ | |
+ Magick++ CORE_RL_Magick++_ Magick++-Q16 | |
) | |
list(APPEND ImageMagick_REQUIRED_VARS ImageMagick_Magick++_LIBRARY) | |
elseif(component STREQUAL "MagickWand") | |
FIND_IMAGEMAGICK_API(MagickWand wand/MagickWand.h | |
- Wand MagickWand CORE_RL_wand_ | |
+ Wand MagickWand CORE_RL_wand_ MagickWand-Q16 | |
) | |
list(APPEND ImageMagick_REQUIRED_VARS ImageMagick_MagickWand_LIBRARY) | |
elseif(component STREQUAL "MagickCore") | |
FIND_IMAGEMAGICK_API(MagickCore magick/MagickCore.h | |
- Magick MagickCore CORE_RL_magick_ | |
+ Magick MagickCore CORE_RL_magick_ MagickCore-Q16 | |
) | |
list(APPEND ImageMagick_REQUIRED_VARS ImageMagick_MagickCore_LIBRARY) | |
else() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment