Skip to content

Commit

Permalink
ci: Remove VTK_BUILD_DOCUMENTATION from CMake command
Browse files Browse the repository at this point in the history
  • Loading branch information
schuhschuh committed Feb 15, 2021
1 parent 0f5ba56 commit 1a04d46
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Scripts/install_depends.sh
Original file line number Diff line number Diff line change
Expand Up @@ -264,11 +264,12 @@ if [ $WITH_VTK = ON ] && [ -n "$VTK_VERSION" ]; then
[ $? -eq 0 ] || exit 1
[ "$DEBUG_VTK_BUILD" != "ON" ] || set -x
echo "Configuring VTK $VTK_VERSION..."
cmake_args+=(-DCMAKE_CXX_STANDARD=$CXX_STANDARD)
cmake_args+=(
-DBUILD_TESTING=OFF
-DCMAKE_CXX_STANDARD=$CXX_STANDARD
)
if [ ${VTK_VERSION/.*/} -lt 9 ]; then
cmake_args+=(
-DBUILD_TESTING=OFF
-DVTK_BUILD_DOCUMENTATION=OFF
-DVTK_Group_Rendering=OFF
-DVTK_Group_StandAlone=OFF
-DVTK_WRAP_PYTHON=OFF
Expand All @@ -291,7 +292,6 @@ if [ $WITH_VTK = ON ] && [ -n "$VTK_VERSION" ]; then
)
else
cmake_args+=(
-DBUILD_TESTING=OFF
-DVTK_GROUP_ENABLE_Imaging=YES
-DVTK_GROUP_ENABLE_MPI=DONT_WANT
-DVTK_GROUP_ENABLE_Qt=DONT_WANT
Expand Down

0 comments on commit 1a04d46

Please sign in to comment.