From fc0b1fb79f12c302aa7a3ffa7b2d18008f79b256 Mon Sep 17 00:00:00 2001 From: Bastian Bloessl Date: Fri, 17 Mar 2017 14:43:14 +0100 Subject: [PATCH] cmake: require swig --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ddc709c..4658338 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -107,6 +107,9 @@ find_package(Doxygen) find_package(PythonLibs 2) find_package(SWIG) +if(NOT SWIG_FOUND) + message(FATAL_ERROR "SWIG required to compile gr-rds") +endif() ######################################################################## # On Apple only, set install name and use rpath correctly, if not already set