aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorZheng Junjie <zhengjunjie@iscas.ac.cn>2024-07-12 11:41:21 +0800
committerLudovic Courtès <ludo@gnu.org>2024-08-31 10:45:41 +0200
commitdc625762d5abb94ac8e8ea86012d6c828c3b24ed (patch)
tree324ed6cefd25566bab60689767110f71d058fc77 /gnu/packages
parent975ed37e5d590b0a625993b11fb23b5af6b93cf4 (diff)
downloadguix-dc625762d5abb94ac8e8ea86012d6c828c3b24ed.tar.gz
guix-dc625762d5abb94ac8e8ea86012d6c828c3b24ed.zip
gnu: openimageio: Fix cmake file.
* gnu/packages/graphics.scm (openimageio)[arguments]: Add fix-OpenImageIOConfig phase. Change-Id: I0a923c8513069dde5cd3e42fde9279cbd177a10a
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/graphics.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index f112af57b3..1801853175 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -1360,6 +1360,13 @@ with strong support for multi-part, multi-channel use cases.")
(lambda _
(substitute* "include/imageio_pvt.h"
(("#define ZLIB_VERSION \"1\\.3\"")
+ ""))))
+ (add-after 'install 'fix-OpenImageIOConfig
+ (lambda _
+ (substitute* (string-append
+ #$output
+ "/lib/cmake/OpenImageIO/OpenImageIOConfig.cmake")
+ (("#define ZLIB_VERSION \"1\\.3\"")
"")))))))
(native-inputs
(list pkg-config))