Paraview uses 'git describe' to find its own version number
When building Paraview 5.4.1, I have found that Paraview will prefer using git describe
to obtain its own version number when I am building from the tar file and git describe
will return a version number which isn't Paraview's version. I was seeing -- Determined Source Version : 0.8.17-6535-g5ccc9c1
. I was forced to comment out the execution of git describe
in ParaViewDetermineVersion.cmake
so that Paraview would default to its shipped version which was 5.4.1: -- Could not use git to determine source version, using version 5.4.1
. I'm not sure what if ("$Format:$" STREQUAL "")
is doing in ParaViewDetermineVersion.cmake
, but it doesn't realize it isn't in a git repo.