Throw Error if Swig or Python is not found.
This commit is contained in:
@@ -153,6 +153,7 @@ TBD
|
|||||||
|
|
||||||
# Troubleshooting
|
# Troubleshooting
|
||||||
|
|
||||||
|
- Please check compile and installation logs. They might contain interesting information.
|
||||||
- Did you calibrate your daughterboard?
|
- Did you calibrate your daughterboard?
|
||||||
- Did you run volk_profile?
|
- Did you run volk_profile?
|
||||||
- Did you try different gain settings?
|
- Did you try different gain settings?
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
find_package(SWIG)
|
find_package(SWIG)
|
||||||
find_package(PythonLibs 2)
|
find_package(PythonLibs 2)
|
||||||
if(NOT SWIG_FOUND OR NOT PYTHONLIBS_FOUND)
|
if(NOT SWIG_FOUND OR NOT PYTHONLIBS_FOUND)
|
||||||
|
message(FATAL_ERROR "Python or Swig not found (or version not supported).")
|
||||||
return()
|
return()
|
||||||
endif()
|
endif()
|
||||||
include(GrSwig)
|
include(GrSwig)
|
||||||
|
|||||||
Reference in New Issue
Block a user