From 01981660bf39fa59002f0908ae3e44475f046465 Mon Sep 17 00:00:00 2001
From: Josh Blum <josh@joshknows.com>
Date: Fri, 22 Jul 2011 14:19:17 -0700
Subject: uhd: also setup uhd library linking for swig

---
 gr-uhd/swig/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'gr-uhd/swig')

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)
 
-- 
cgit v1.2.3