summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2025-04-01 13:15:20 +0200
committerRicardo Wurmus <rekado@elephly.net>2025-04-01 13:18:36 +0200
commit59cc351439bee321b8d2f4844f8cdd52f906b171 (patch)
tree51fc66b1c34992b6bf0e1c0c6438bc3ac1159b86 /gnu
parent0b34ff3a45b0a5eecf8f602ec3372a9fb3f9a3b3 (diff)
gnu: itk-snap: Build for C++14.
* gnu/packages/image-processing.scm (itk-snap)[arguments]: Define CMAKE_CXX_STANDARD; adjust label for qtdeclarative. Change-Id: I8568c4f9f22f22dba30dcff7e33f1b6dac1cb05d
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/image-processing.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm
index 7e00a0bbb49..03efb666808 100644
--- a/gnu/packages/image-processing.scm
+++ b/gnu/packages/image-processing.scm
@@ -1463,7 +1463,9 @@ combine the information contained in both.")
"-DSNAP_VERSION_GIT_BRANCH=release"
"-DSNAP_VERSION_GIT_TIMESTAMP=0"
"-DSNAP_PACKAGE_QT_PLUGINS=OFF"
- "-DCMAKE_POSITION_INDEPENDENT_CODE=ON")
+ "-DCMAKE_POSITION_INDEPENDENT_CODE=ON"
+ ;; ISO C++17 does not allow dynamic exception specifications.
+ "-DCMAKE_CXX_STANDARD=14")
#:phases
(modify-phases %standard-phases
;; During the installation phase all libraries provided by all
@@ -1515,7 +1517,7 @@ combine the information contained in both.")
,(map (lambda (label)
(string-append (assoc-ref inputs label)
"/lib/qt5/plugins"))
- '("qtbase" "qtdeclarative-5"))))))))))
+ '("qtbase" "qtdeclarative"))))))))))
(inputs
(list bash-minimal
curl