Commit 1757518e authored by Ben Boeckel's avatar Ben Boeckel

paraview: fix version detection mechanisms

parent 05d69d9b
Pipeline #149500 passed with stage
......@@ -63,6 +63,8 @@ macro (superbuild_setup_variables)
endif ()
mark_as_advanced(PARAVIEW_VERSION_DEFAULT)
set(paraview_default_version "${PARAVIEW_VERSION_DEFAULT}")
elseif (paraview_SOURCE_SELECTION STREQUAL "for-v6.3.0")
set(paraview_default_version "5.7.0")
elseif (paraview_SOURCE_SELECTION STREQUAL "source")
# If it is a git repo, we'll get it that way. Otherwise, we will look at the
# `version.txt` in the checkout.
......
......@@ -16,12 +16,12 @@ superbuild_set_revision(boost
# $ git push --tags origin
superbuild_set_selectable_source(paraview
SELECT git CUSTOMIZABLE
GIT_REPOSITORY "https://gitlab.kitware.com/cmb/paraview.git"
GIT_TAG "2c64f2e43b873a399aa2513a24d336470f2cc3b4"
SELECT master DEFAULT
SELECT git CUSTOMIZABLE DEFAULT
GIT_REPOSITORY "https://gitlab.kitware.com/paraview/paraview.git"
GIT_TAG "origin/master"
SELECT for-v6.3.0 CUSTOMIZABLE
GIT_REPOSITORY "https://gitlab.kitware.com/cmb/paraview.git"
GIT_TAG "2c64f2e43b873a399aa2513a24d336470f2cc3b4"
SELECT source CUSTOMIZABLE
SOURCE_DIR "source-paraview")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment