summaryrefslogtreecommitdiff
path: root/config/grc_gr_uhd.m4
diff options
context:
space:
mode:
Diffstat (limited to 'config/grc_gr_uhd.m4')
-rw-r--r--config/grc_gr_uhd.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/config/grc_gr_uhd.m4 b/config/grc_gr_uhd.m4
index c3c701dbd..870a8abc6 100644
--- a/config/grc_gr_uhd.m4
+++ b/config/grc_gr_uhd.m4
@@ -24,6 +24,9 @@ AC_DEFUN([GRC_GR_UHD],[
GRC_CHECK_DEPENDENCY(gr-uhd, gnuradio-core)
if test $passed = yes; then
+ #by default, cmake likes to install the uhd.pc file here
+ #so lets make life easier for everybody and add this path
+ export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig
PKG_CHECK_MODULES(
[UHD], [uhd], [],
[passed=no; AC_MSG_RESULT([gr-uhd requires libuhd])]