mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-29 05:30:32 +02: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:
committed by
Ludovic Courtès
parent
3a3752400d
commit
08870dc3bc
@@ -1288,7 +1288,8 @@ libraries designed for computer vision research and implementation.")
|
||||
;; 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
|
||||
|
||||
Reference in New Issue
Block a user