mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-16 17:22:55 +00:00
VTKmDetermineVersion: list the project we found the version for
It's confusing inside of VTK and ParaView.
This commit is contained in:
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.")
|
||||
|
Loading…
Reference in New Issue
Block a user