X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Linux%2Fscripts%2FThirdParty-install-ITK.sh;fp=Linux%2Fscripts%2FThirdParty-install-ITK.sh;h=c6e456e4c4217ff8783774bc80eccc0b06f9d323;hb=fa4fbd3991c17689ef149ac73c69cdd00c0e64a0;hp=cdc26815e70054a98555b218f448db7a9b57553b;hpb=8b92b274af03229d9774f6bbfabc3824c2f29928;p=creaToolsTools.git diff --git a/Linux/scripts/ThirdParty-install-ITK.sh b/Linux/scripts/ThirdParty-install-ITK.sh index cdc2681..c6e456e 100644 --- a/Linux/scripts/ThirdParty-install-ITK.sh +++ b/Linux/scripts/ThirdParty-install-ITK.sh @@ -164,10 +164,12 @@ then then cmake -D ITKV3_COMPATIBILITY:BOOL=ON -D ITKGroup_Nonunit:BOOL=ON -D ITKGroup_IO:BOOL=ON -D Module_ITK-Deprecated:BOOL=ON -D Module_ITK-Review:BOOL=ON CMakeCache.txt fi + cmake -D CMAKE_CXX_FLAGS:STRING='-std=c++03' CMakeCache.txt + #uncomment following line if you want to use the bleeding edge of GDCM2! #cmake -D ITK_USE_SYSTEM_GDCM:BOOL=ON CMakeCache.txt cmake CMakeCache.txt - make -j $corenumber + make -j make install cd .. fi