X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Linux%2Fscripts%2FThirdParty-install-ITK.sh;h=e6aaafa92738b467ee4c2892ca3140894595def0;hb=c5351cccaed613ac35c2b210140eedef72c616c1;hp=cdc26815e70054a98555b218f448db7a9b57553b;hpb=1e09b8dbf8310a1a53d02e67256f12a6c0424aa7;p=creaToolsTools.git diff --git a/Linux/scripts/ThirdParty-install-ITK.sh b/Linux/scripts/ThirdParty-install-ITK.sh index cdc2681..e6aaafa 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 install + make -j $corenumber install cd .. fi