]> Creatis software - cpPlugins.git/blobdiff - third_party_installers/cpPlugins_Install_ITK.sh
Code cleaning
[cpPlugins.git] / third_party_installers / cpPlugins_Install_ITK.sh
index 4a97e9e63b79f45f8baa1700340f7c31738dd558..51e0ea0ba62c37923759bdd485d802b7e8a72f6a 100755 (executable)
@@ -148,6 +148,11 @@ echo "==> Platform          : $platform"
 echo "==> Number of cores   : $number_of_cores"
 echo "==> Number of threads : $number_of_threads"
 echo "====================================================================="
+read -n1 -r -p "Continue? [Y/N]... " key
+echo
+if [ "$key" != 'Y' -a "$key" != 'y' ] ; then
+    exit 1
+fi
 
 ## Create paths
 if [ "x$source_file" != "x" ]; then
@@ -189,6 +194,7 @@ $cmake_exec \
     -DCMAKE_BUILD_TYPE:STRING=$build_type \
     -DModule_ITKReview:BOOL=ON \
     -DModule_ITKVtkGlue:BOOL=OFF \
+    -DModule_ParabolicMorphology:BOOL=ON \
     -DCMAKE_INSTALL_PREFIX:PATH=$prefix \
     ${source_dir}
 echo "==> Configuring sources... done."