diff options
author | Andrew Lewis <nerf@judo.za.org> | 2018-04-16 15:07:55 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2018-04-16 15:07:55 +0200 |
commit | d8e57de10e30f78530dec61f844cc66641baee1d (patch) | |
tree | bb5cf0f323657b8fca6167f6f2051662d4c94efb /CMakeLists.txt | |
parent | a3d5365b47f31be10fa4703e365e83d7f467e962 (diff) | |
download | rspamd-d8e57de10e30f78530dec61f844cc66641baee1d.tar.gz rspamd-d8e57de10e30f78530dec61f844cc66641baee1d.zip |
[Minor] Fix check for usable libgd
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index cdd31bbe5..b3dc06d64 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) |