From 159357d5f74225e0f53a522b5d5066e6f3315876 Mon Sep 17 00:00:00 2001
From: Martin Braun <martin.braun@kit.edu>
Date: Wed, 13 Nov 2013 10:24:36 -0500
Subject: modtool: relax the OOT module detection regex

---
 gr-utils/python/modtool/modtool_base.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'gr-utils/python/modtool/modtool_base.py')

diff --git a/gr-utils/python/modtool/modtool_base.py b/gr-utils/python/modtool/modtool_base.py
index f8fc8639c4..86cbd8f420 100644
--- a/gr-utils/python/modtool/modtool_base.py
+++ b/gr-utils/python/modtool/modtool_base.py
@@ -141,8 +141,7 @@ class ModTool(object):
         self._info['is_component'] = False
         for f in files:
             if os.path.isfile(f) and f == 'CMakeLists.txt':
-                if re.search('find_package\(GnuradioRuntime\)', open(f).read()) is not None or \
-                                re.search('find_package\(Gnuradio(\s+[0-9".]+)?\)', open(f).read()) is not None:
+                if re.search('find_package\(Gnuradio', open(f).read()) is not None:
                     self._info['version'] = '36' # Might be 37, check that later
                     has_makefile = True
                 elif re.search('GR_REGISTER_COMPONENT', open(f).read()) is not None:
-- 
cgit v1.2.3