Check that pkg-config is available

It is needed to properly detect the grcc full path
See also 3f6ab15a7a5492391ca0f94bd0a5586c1735f8db
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6689d9d..ca71fff 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -140,7 +140,9 @@
 find_package(Libosmocodec)
 find_package(Libosmocoding)
 
-
+if(NOT PKG_CONFIG_FOUND)
+    message(FATAL_ERROR "pkg-config is required to compile gr-gsm")
+endif()
 if(NOT GNURADIO_RUNTIME_FOUND)
     message(FATAL_ERROR "GnuRadio Runtime required to compile gr-gsm")
 endif()