summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorJosh Blum2013-09-15 14:44:44 -0700
committerJosh Blum2013-09-15 14:44:44 -0700
commite25fe808cf6a20e9469d1380d497e23205a379b6 (patch)
tree0a6bec03be4a30fbfb332f37a175e9fa1dafc312 /cmake
parent6961a794356d413f81bfbf347ed84619b1125d22 (diff)
downloadgnuradio-e25fe808cf6a20e9469d1380d497e23205a379b6.tar.gz
gnuradio-e25fe808cf6a20e9469d1380d497e23205a379b6.tar.bz2
gnuradio-e25fe808cf6a20e9469d1380d497e23205a379b6.zip
gr: added util hooks for GR_MOAR_LIBRARIES
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Modules/GrMiscUtils.cmake3
-rw-r--r--cmake/Modules/GrSwig.cmake2
2 files changed, 5 insertions, 0 deletions
diff --git a/cmake/Modules/GrMiscUtils.cmake b/cmake/Modules/GrMiscUtils.cmake
index 3e80846d6..b9ab38fc6 100644
--- a/cmake/Modules/GrMiscUtils.cmake
+++ b/cmake/Modules/GrMiscUtils.cmake
@@ -129,6 +129,9 @@ endfunction(GR_LIBTOOL)
# Also handle gnuradio custom naming conventions w/ extras mode.
########################################################################
function(GR_LIBRARY_FOO target)
+
+ target_link_libraries(${target} ${GR_MOAR_LIBRARIES})
+
#parse the arguments for component names
include(CMakeParseArgumentsCopy)
CMAKE_PARSE_ARGUMENTS(GR_LIBRARY "" "RUNTIME_COMPONENT;DEVEL_COMPONENT" "" ${ARGN})
diff --git a/cmake/Modules/GrSwig.cmake b/cmake/Modules/GrSwig.cmake
index b9bf0bb0b..505fe104c 100644
--- a/cmake/Modules/GrSwig.cmake
+++ b/cmake/Modules/GrSwig.cmake
@@ -105,6 +105,8 @@ endfunction(GR_SWIG_MAKE_DOCS)
macro(GR_SWIG_MAKE name)
set(ifiles ${ARGN})
+ list(APPEND GR_SWIG_LIBRARIES ${GR_MOAR_LIBRARIES})
+
#do swig doc generation if specified
if (GR_SWIG_DOC_FILE)
set(GR_SWIG_DOCS_SOURCE_DEPS ${GR_SWIG_SOURCE_DEPS})