mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: insight-toolkit: Fix compilation.
Previously, code would be compiled with '-std=c++11', leading to compilation errors in VNL: vnl_bignum.cxx:738:37: error: ‘numeric_limits’ is not a member of ‘std’ * gnu/packages/image-processing.scm (insight-toolkit)[arguments]: Pass "-DCMAKE_CXX_STANDARD=17".
This commit is contained in:
parent
3a3752400d
commit
08870dc3bc
1 changed files with 2 additions and 1 deletions
|
@ -1288,7 +1288,8 @@ (define-public insight-toolkit
|
|||
;; This prevents "GTest::GTest" from being added to the ITK_LIBRARIES
|
||||
;; variable in the installed CMake files. This is necessary as other
|
||||
;; packages using insight-toolkit could not be configured otherwise.
|
||||
"-DGTEST_ROOT=gtest")
|
||||
"-DGTEST_ROOT=gtest"
|
||||
"-DCMAKE_CXX_STANDARD=17")
|
||||
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
|
|
Loading…
Reference in a new issue