VTKmDetermineVersion: list the project we found the version for

It's confusing inside of VTK and ParaView.
This commit is contained in:
Ben Boeckel 2018-01-24 09:17:57 -05:00
parent dd3901094d
commit 32cc61f7b0

@ -58,7 +58,7 @@ function(determine_version source_dir git_command var_prefix)
endif()
extract_version_components("${output}" tmp)
if(DEFINED tmp_VERSION)
message(STATUS "Determined Source Version : ${tmp_VERSION_FULL}")
message(STATUS "Determined ${PROJECT_NAME} Source Version: ${tmp_VERSION_FULL}")
if (NOT "${tmp_VERSION}" STREQUAL "${${var_prefix}_VERSION}")
message(WARNING
"Version from git (${tmp_VERSION}) disagrees with hard coded version (${${var_prefix}_VERSION}). Either update the git tags or version.txt.")