[hamradio-commits] [gnss-sdr] 145/149: Require gr-uhd only if uhd is found

Carles Fernandez carles_fernandez-guest at moszumanska.debian.org
Sat Feb 6 19:43:14 UTC 2016


This is an automated email from the git hooks/post-receive script.

carles_fernandez-guest pushed a commit to branch next
in repository gnss-sdr.

commit 8672508e2486432351a356034498dd89ad9602f4
Author: Carles Fernandez <carles.fernandez at gmail.com>
Date:   Tue Feb 2 23:54:48 2016 +0100

    Require gr-uhd only if uhd is found
---
 CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 763220c..aaabf7a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -831,6 +831,8 @@ if(NOT UHD_FOUND)
     message(STATUS " so all USRP-based front-ends will not be usable.")
     message(STATUS " Please check http://files.ettus.com/manual/")
 else(NOT UHD_FOUND)
+    set(GR_REQUIRED_COMPONENTS UHD)
+    find_package(Gnuradio)
     set(ENABLE_UHD ON)
 endif(NOT UHD_FOUND)
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/gnss-sdr.git



More information about the pkg-hamradio-commits mailing list