summaryrefslogtreecommitdiff
path: root/grc
diff options
context:
space:
mode:
Diffstat (limited to 'grc')
-rw-r--r--grc/core/generator/cpp_templates/CMakeLists.txt.mako2
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])
%>\