diff --git a/CMakeLists.txt b/CMakeLists.txt
index e7fcd2c..72deaff 100644
@@ -50,7 +50,7 @@ endif()
########################################################################
# Compiler specific setup
########################################################################
-if(CMAKE_COMPILER_IS_GNUCXX AND NOT WIN32)
#http://gcc.gnu.org/wiki/Visibility
add_definitions(-fvisibility=hidden)
@@ -116,20 +116,42 @@ endif(APPLE)
########################################################################
# Find gnuradio build dependencies
########################################################################
# Search for GNU Radio and its components and versions. Add any
# components required to the list of GR_REQUIRED_COMPONENTS (in all
# caps such as FILTER or FFT) and change the version to the minimum
# API compatible version required.
set(GR_REQUIRED_COMPONENTS RUNTIME FFT FILTER DIGITAL)
-find_package(Gnuradio "3.7.2" REQUIRED)
-find_package(Volk "1.3")
+if(NOT GNURADIO_RUNTIME_FOUND)
+ message(FATAL_ERROR "GNU Radio required to compile gfdm")
- message(FATAL_ERROR "CppUnit required to compile gfdm")
+ message(FATAL_ERROR "CppUnit required to compile gr-ieee802-15-4")
+find_package(PythonLibs 2)
+if(NOT PYTHONLIBS_FOUND)
+ message(FATAL_ERROR "Python required to compile gr-ieee802-15-4")
+ message(FATAL_ERROR "Volk required to compile gr-ieee802-15-4")
+ message(FATAL_ERROR "SWIG required to compile gr-ieee802-15-4")
+ message(FATAL_ERROR "FFTW3 required to compile iqbalance")
if(${CMAKE_BUILD_TYPE} STREQUAL "Coverage")
@@ -140,7 +162,8 @@ endif()
########################################################################