Throw Error if Swig or Python is not found.

This commit is contained in:
Bastian Bloessl
2016-03-08 15:47:55 -08:00
parent e815faa792
commit b16ac24359
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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?
+1
View File
@@ -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)