mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
0b34ff3a45
commit
59cc351439
1 changed files with 4 additions and 2 deletions
|
@ -1463,7 +1463,9 @@ combine the information contained in both.")
|
||||||
"-DSNAP_VERSION_GIT_BRANCH=release"
|
"-DSNAP_VERSION_GIT_BRANCH=release"
|
||||||
"-DSNAP_VERSION_GIT_TIMESTAMP=0"
|
"-DSNAP_VERSION_GIT_TIMESTAMP=0"
|
||||||
"-DSNAP_PACKAGE_QT_PLUGINS=OFF"
|
"-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
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
;; During the installation phase all libraries provided by all
|
;; During the installation phase all libraries provided by all
|
||||||
|
@ -1515,7 +1517,7 @@ combine the information contained in both.")
|
||||||
,(map (lambda (label)
|
,(map (lambda (label)
|
||||||
(string-append (assoc-ref inputs label)
|
(string-append (assoc-ref inputs label)
|
||||||
"/lib/qt5/plugins"))
|
"/lib/qt5/plugins"))
|
||||||
'("qtbase" "qtdeclarative-5"))))))))))
|
'("qtbase" "qtdeclarative"))))))))))
|
||||||
(inputs
|
(inputs
|
||||||
(list bash-minimal
|
(list bash-minimal
|
||||||
curl
|
curl
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue