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:
Ludovic Courtès 2023-07-18 13:10:51 +02:00 committed by Ludovic Courtès
parent 3a3752400d
commit 08870dc3bc
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -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