gnu: insight-toolkit-4.12: Fix building.

* gnu/packages/image-processing.scm (insight-toolkit-4.12)[arguments]:
Add a configure-flag to build with c++14.

Change-Id: I5e7a0a3ed47e4e3f25611147f8e66c58a1bf8a8c
This commit is contained in:
Efraim Flashner 2023-11-14 08:55:34 +02:00
parent f9f36b08e5
commit 3d15e9e5bc
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1412,7 +1412,12 @@ (define-public insight-toolkit-4.12
(uri (string-append "mirror://sourceforge/itk/itk/4.12/"
"InsightToolkit-" version ".tar.xz"))
(sha256
(base32 "1qw9mxbh083siljygahl4gdfv91xvfd8hfl7ghwii19f60xrvn2w"))))))
(base32 "1qw9mxbh083siljygahl4gdfv91xvfd8hfl7ghwii19f60xrvn2w"))))
(arguments
(substitute-keyword-arguments (package-arguments insight-toolkit-4)
((#:configure-flags cf #~'())
;; error: ISO C++17 does not allow dynamic exception specifications
#~(cons* "-DCMAKE_CXX_FLAGS=-std=c++14" #$cf))))))
(define-public itk-snap
(package