Commit a1db3c94 authored by Jan Möbius's avatar Jan Möbius
Browse files

Migrate away from old version setting to project version

parent 05efd852
Pipeline #16521 failed with stage
in 3 seconds
......@@ -23,7 +23,11 @@ endfunction ()
# info header
function (vci_print_configure_header _id _name)
vci_format_string ("${_name}" 40 _project)
vci_format_string ("${${_id}_VERSION}" 40 _version)
if ( ${_id}_VERSION )
vci_format_string ("${${_id}_VERSION}" 40 _version)
else()
vci_format_string ("${PROJECT_VERSION}" 40 _version)
endif()
vci_color_message ("\n${_escape}[40;37m************************************************************${_escape}[0m")
vci_color_message ("${_escape}[40;37m* ${_escape}[1;31mVCI ${_escape}[0;40;34mBuildsystem${_escape}[0m${_escape}[40;37m *${_escape}[0m")
vci_color_message ("${_escape}[40;37m* *${_escape}[0m")
......
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