summaryrefslogtreecommitdiff
path: root/grc
diff options
context:
space:
mode:
authorkarel <5636152+karel@users.noreply.github.com>2021-02-19 12:23:59 +0200
committermormj <34754695+mormj@users.noreply.github.com>2021-03-03 11:58:46 -0500
commit78dc0d8b5b289b108deebce3567b69902d65d202 (patch)
tree3dc32288ba0bfe09940deb25b9c1d6186c05e1c5 /grc
parent42dd2c9ccb6128b80b4f2f8c0f5711d8103cfbd6 (diff)
grc: remove gnuradio prefix from linked libraries
this allows OOT modules to be linked, as those will not link with the prefix Signed-off-by: karel <5636152+karel@users.noreply.github.com>
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 c9f7776283..8788de5de4 100644
--- a/grc/core/generator/cpp_templates/CMakeLists.txt.mako
+++ b/grc/core/generator/cpp_templates/CMakeLists.txt.mako
@@ -55,7 +55,7 @@ target_link_libraries(${class_name}
gnuradio::gnuradio-blocks
% for link in links:
% if link:
- ${link.replace("gnuradio-", "gnuradio::gnuradio-")}
+ ${link}
% endif
% endfor