From a0ceeddc497188a8cce7e45ba5c7473636073247 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Thu, 22 Sep 2016 16:00:31 -0700 Subject: cmake: Check for python requests, warn if not found (does not fail though) --- host/utils/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'host/utils/CMakeLists.txt') diff --git a/host/utils/CMakeLists.txt b/host/utils/CMakeLists.txt index 6f72c97bc..eb5a29df9 100644 --- a/host/utils/CMakeLists.txt +++ b/host/utils/CMakeLists.txt @@ -149,6 +149,9 @@ IF(LINUX) COMPONENT utilities ) ENDIF(LINUX) +IF(NOT HAVE_PYTHON_MODULE_REQUESTS) + MESSAGE(WARNING "Module requests not found -- uhd_images_downloader.py will not work without it.") +ENDIF(NOT HAVE_PYTHON_MODULE_REQUESTS) IF(ENABLE_USRP2) SET(burners -- cgit v1.2.3