Merge pull request #82 from brownjohnf/allow-imagemagick-7-1
Update imagemmagick checks to support 7.1
This commit is contained in:
2
build.rs
2
build.rs
@ -24,7 +24,7 @@ use std::path::{Path, PathBuf};
|
||||
use std::process::Command;
|
||||
|
||||
const MIN_VERSION: &'static str = "7.0";
|
||||
const MAX_VERSION: &'static str = "7.1";
|
||||
const MAX_VERSION: &'static str = "7.2";
|
||||
|
||||
static HEADER: &'static str = "#include <MagickWand/MagickWand.h>\n";
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@ RUN apt-get update \
|
||||
&& apt-get -y install curl build-essential clang pkg-config libjpeg-turbo-progs libpng-dev \
|
||||
&& rm -rfv /var/lib/apt/lists/*
|
||||
|
||||
ENV MAGICK_VERSION 7.0
|
||||
ENV MAGICK_VERSION 7.1
|
||||
|
||||
RUN curl https://download.imagemagick.org/ImageMagick/download/ImageMagick.tar.gz | tar xz \
|
||||
&& cd ImageMagick-${MAGICK_VERSION}* \
|
||||
|
||||
Reference in New Issue
Block a user