]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix check for usable libgd 2179/head
authorAndrew Lewis <nerf@judo.za.org>
Mon, 16 Apr 2018 13:07:55 +0000 (15:07 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Mon, 16 Apr 2018 13:07:55 +0000 (15:07 +0200)
CMakeLists.txt

index cdd31bbe5fd4d069fa9510310cb995c8b1c62a52..b3dc06d6409d1a9341bd27a741f25c1470010d85 100644 (file)
@@ -689,8 +689,8 @@ IF (ENABLE_GD MATCHES "ON")
        CHECK_SYMBOL_EXISTS(gdImageGrayScale gd.h GD_GRAYSCALE)
        CHECK_SYMBOL_EXISTS(gdImageCreateFromJpegPtr gd.h GD_JPEG)
        CHECK_SYMBOL_EXISTS(gdImageCreateFromPngPtr gd.h GD_PNG)
-       CHECK_SYMBOL_EXISTS(gdImageCreateFromJpegPtr gd.h GD_BMP)
-       CHECK_SYMBOL_EXISTS(gdImageCreateFromBmpPtr gd.h GD_GIF)
+       CHECK_SYMBOL_EXISTS(gdImageCreateFromBmpPtr gd.h GD_BMP)
+       CHECK_SYMBOL_EXISTS(gdImageCreateFromGifPtr gd.h GD_GIF)
 
        IF(GD_INTERPOLATION AND GD_SCALE AND GD_GRAYSCALE AND GD_JPEG AND GD_PNG AND GD_GIF AND GD_BMP)
                SET(USABLE_GD 1)