Added error message when swig is missing

This commit is contained in:
Piotr Krysik 2016-04-26 16:00:48 +02:00
parent d924dba895
commit f6a76ab0c0
1 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,8 @@ if(SWIG_FOUND)
if("${SWIG_VERSION}" VERSION_GREATER "1.3.30")
set(SWIG_VERSION_CHECK TRUE)
endif()
else()
message(FATAL_ERROR "SWIG required to compile gr-gsm")
endif(SWIG_FOUND)