diff options
author | Ryan Volz <ryan.volz@gmail.com> | 2021-10-06 00:08:35 -0400 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2021-10-27 14:28:40 -0400 |
commit | e79cc19b87a9976d1cb44a4c315b59cc90ebdbf8 (patch) | |
tree | 0437de5dc23709fec22c2006815d0a2dd952b509 /grc/core/FlowGraph.py | |
parent | 1a8cfa2c196c0e97d1147f2e615db4de8152673f (diff) |
cmake: Fix cmake failure with unset VERSION_PATCH.
After the recent change to use `string(REGEX REPLACE ...)` to ensure
that only numeric values are used for RC_*_VERSION, an unset
VERSION_PATCH now results in a cmake failure when it didn't previously.
While we should expect all 4 version fields to be set (except when one
of the values is "git"), we should also avoid failing here when it
worked before. At least one OOT (gr-satellites) doesn't set the
VERSION_PATCH field for releases, so this fixes the build in that case
without requiring OOT changes. Now an unset VERSION_PATCH defaults to
"0".
Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
Diffstat (limited to 'grc/core/FlowGraph.py')
0 files changed, 0 insertions, 0 deletions