diff options
-rw-r--r-- | gr-uhd/swig/Makefile.am | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gr-uhd/swig/Makefile.am b/gr-uhd/swig/Makefile.am index 3b7b3cc60..f227ac015 100644 --- a/gr-uhd/swig/Makefile.am +++ b/gr-uhd/swig/Makefile.am @@ -65,3 +65,9 @@ uhd_swig_swiginclude_headers = uhd_swig_swig_args = \ $(UHD_CFLAGS) \ -I$(top_srcdir)/gr-uhd/lib + +## If UHD was installed, defined GR_HAVE_UHD for swigging headers +if GR_DEFINE_HAVE_UHD + uhd_swig_swig_args += -DGR_HAVE_UHD +endif + |