From b16ac24359712d976357c860bb02ea318929a891 Mon Sep 17 00:00:00 2001 From: Bastian Bloessl Date: Tue, 8 Mar 2016 15:47:55 -0800 Subject: [PATCH] Throw Error if Swig or Python is not found. --- README.md | 1 + swig/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index d3daef4..b15554e 100644 --- a/README.md +++ b/README.md @@ -153,6 +153,7 @@ TBD # Troubleshooting +- Please check compile and installation logs. They might contain interesting information. - Did you calibrate your daughterboard? - Did you run volk_profile? - Did you try different gain settings? diff --git a/swig/CMakeLists.txt b/swig/CMakeLists.txt index 683be3e..cf93fd1 100644 --- a/swig/CMakeLists.txt +++ b/swig/CMakeLists.txt @@ -21,6 +21,7 @@ find_package(SWIG) find_package(PythonLibs 2) if(NOT SWIG_FOUND OR NOT PYTHONLIBS_FOUND) + message(FATAL_ERROR "Python or Swig not found (or version not supported).") return() endif() include(GrSwig)