summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-07-22 14:19:17 -0700
committerJosh Blum <josh@joshknows.com>2011-07-22 14:19:17 -0700
commit01981660bf39fa59002f0908ae3e44475f046465 (patch)
tree96d70391af2064e492831aaf92ca57b9e60c5d6e
parent17ef212c684e13e744a4e4258f7fed2dcbc9a5be (diff)
uhd: also setup uhd library linking for swig
-rw-r--r--gr-uhd/swig/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-uhd/swig/CMakeLists.txt b/gr-uhd/swig/CMakeLists.txt
index 47b2ff63ec..fec3cba6f7 100644
--- a/gr-uhd/swig/CMakeLists.txt
+++ b/gr-uhd/swig/CMakeLists.txt
@@ -29,8 +29,8 @@ SET(GR_SWIG_INCLUDE_DIRS
${GR_UHD_INCLUDE_DIRS}
${GNURADIO_CORE_SWIG_INCLUDE_DIRS}
)
-
-SET(GR_SWIG_LIBRARIES gnuradio-uhd)
+LINK_DIRECTORIES(${UHD_LIBRARY_DIRS})
+SET(GR_SWIG_LIBRARIES gnuradio-uhd ${UHD_LIBRARIES})
GR_SWIG_MAKE(uhd_swig uhd_swig.i)