diff options
author | Josh Morman <jmorman@perspectalabs.com> | 2019-06-05 16:26:52 -0400 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-06-15 16:50:50 -0700 |
commit | 25b01217d191a419ff686bd9c59a11f4a3b7437d (patch) | |
tree | cbb80b11a6a3731c1fd252ee377e0d77e8bd4e85 /gr-utils/python | |
parent | 4c65204e52db0da1ebf0c0a323b4de1f80e55f12 (diff) |
modtool: add 3.8 version for info command
Code was there to give the correct printout, just in another place
Copy the logic for finding the post-3.8 version information
to the code that is executed by the gr_modtool info command
fixes #2403
Diffstat (limited to 'gr-utils/python')
-rw-r--r-- | gr-utils/python/modtool/core/info.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gr-utils/python/modtool/core/info.py b/gr-utils/python/modtool/core/info.py index 2a483d18c4..1b4d70f517 100644 --- a/gr-utils/python/modtool/core/info.py +++ b/gr-utils/python/modtool/core/info.py @@ -57,6 +57,8 @@ class ModToolInfo(ModTool): os.path.isdir(os.path.join('include', 'gnuradio', mod_info['modname'])) ): self.info['version'] = '37' + if not os.path.isfile(os.path.join('cmake', 'Modules', 'FindCppUnit.cmake')): + self.info['version'] = '38' mod_info['version'] = self.info['version'] if 'is_component' in list(self.info.keys()) and self.info['is_component']: mod_info['is_component'] = True |