Add workaround for QuantumRange not defined error when hdri is disabled

This commit is contained in:
Captain Bland
2020-06-08 23:24:44 +01:00
parent e360172bfa
commit a600637726
2 changed files with 31 additions and 3 deletions

View File

@ -16,3 +16,8 @@ libc = "0.2.70"
[build-dependencies]
bindgen = "0.53.2"
pkg-config = "0.3.17"
[features]
# Workaround for bindgen bug when ImageMagick is compiled with disable-hdri
disable-hdri = []