]> Creatis software - clitk.git/blobdiff - travis/travis_build_vtk.sh
Change cmake flags vot VTK5.10 in travis file
[clitk.git] / travis / travis_build_vtk.sh
index 5b7e7e873a5128431ab0e56119b3097769ad6106..f7b1fce56d102385b1cdf1bd1f29695f4c074d02 100755 (executable)
@@ -17,18 +17,9 @@ cmake_arg_str=" $cmake_arg_str
   -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"