diff options
author | Håkon Vågsether <hauk142@gmail.com> | 2021-02-01 10:47:32 +0100 |
---|---|---|
committer | Martin Braun <martin@gnuradio.org> | 2021-02-01 14:13:52 -0800 |
commit | 6de23f438c9dae253e079a9b282247e02755d8ce (patch) | |
tree | 3a82dc38712e688bd390194065a0957d03244d39 | |
parent | ed1ba2c2bb78e64ee1c4f5b77841f1bedd667d81 (diff) |
cppgen: Use correct required version in CMakeLists
Signed-off-by: Håkon Vågsether <hauk142@gmail.com>
-rw-r--r-- | grc/core/generator/cpp_templates/CMakeLists.txt.mako | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/core/generator/cpp_templates/CMakeLists.txt.mako b/grc/core/generator/cpp_templates/CMakeLists.txt.mako index ff5ddd94e8..c9f7776283 100644 --- a/grc/core/generator/cpp_templates/CMakeLists.txt.mako +++ b/grc/core/generator/cpp_templates/CMakeLists.txt.mako @@ -13,7 +13,7 @@ <% class_name = flow_graph.get_option('id') -version_list = config.version.split(".") +version_list = config.version_parts short_version = '.'.join(version_list[0:2]) %>\ |