summaryrefslogtreecommitdiff
path: root/gr-utils/python/modtool/core/add.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-utils/python/modtool/core/add.py')
-rw-r--r--gr-utils/python/modtool/core/add.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-utils/python/modtool/core/add.py b/gr-utils/python/modtool/core/add.py
index 5396cead27..a011b594f3 100644
--- a/gr-utils/python/modtool/core/add.py
+++ b/gr-utils/python/modtool/core/add.py
@@ -161,8 +161,8 @@ class ModToolAdd(ModTool):
return
try:
append_re_line_sequence(self._file['cmlib'],
- '\$\{CMAKE_CURRENT_SOURCE_DIR\}/qa_%s.cc.*\n' % self.info['modname'],
- ' ${CMAKE_CURRENT_SOURCE_DIR}/qa_%s.cc' % self.info['blockname'])
+ 'list\(APPEND test_{}_sources.*\n'.format(self.info['modname']),
+ 'qa_{}.cc'.format(self.info['blockname']))
append_re_line_sequence(self._file['qalib'],
'#include.*\n',
'#include "{}"'.format(fname_qa_h))