]> Creatis software - clitk.git/blobdiff - travis/travis_build_vtk.sh
Update qt4 installation for Mac on Travis
[clitk.git] / travis / travis_build_vtk.sh
index 14649bc5e1762f5065f0ebe4a98ebc860ca79be3..f7b1fce56d102385b1cdf1bd1f29695f4c074d02 100755 (executable)
@@ -9,26 +9,17 @@ elif [ "$QT_VERSION" == "5.5.1" ]; then
 fi
 
 #Prepare cmake arguments following the VTK version
-if [ "$VTK_VERSION" == "6.0" ]; then
-vtk_repo_str=" --branch v6.0.0 https://github.com/Kitware/VTK.git --depth 1"
+if [ "$VTK_VERSION" == "5.10" ]; then
+vtk_repo_str=" --branch v5.10.0 https://github.com/Kitware/VTK.git --depth 1"
 cmake_arg_str=" $cmake_arg_str 
   -DBUILD_SHARED_LIBS=1
   -DCMAKE_BUILD_TYPE=Release
   -DBUILD_TESTING=0
   -DBUILD_EXAMPLES=0
   -DBUILD_DOCUMENTATION=0
-  -DVTK_Group_StandAlone=ON
-  -DVTK_Group_Imaging=OFF
-  -DVTK_Group_MPI=OFF
-  -DVTK_Group_Rendering=ON
-  -DVTK_Group_Tk=OFF
-  -DVTK_Group_Views=OFF
-  -DVTK_Group_Web=OFF
-  -DModule_vtkGUISupportQt=ON
-  -DModule_vtkGUISupportQtOpenGL=ON
-  -DModule_vtkGUISupportQtSQL=ON
-  -DModule_vtkRenderingQt=ON
-  -DModule_vtkViewsQt=ON
+  -DVTK_USE_QT=ON
+  -DVTK_USE_RENDERING=ON
+  -DVTK_USE_VIEWS=ON
   -DVTK_QT_VERSION="$QT_MAJOR_VERSION" "
 elif [ "$VTK_VERSION" == "6.3" ]; then
 vtk_repo_str=" --branch v6.3.0 https://github.com/Kitware/VTK.git --depth 1"