From 9b5519db84548040a2bda7a8939c1f894843f879 Mon Sep 17 00:00:00 2001 From: Vasil Velichkov Date: Mon, 30 Apr 2018 20:01:16 +0300 Subject: Check that pkg-config is available It is needed to properly detect the grcc full path See also 3f6ab15a7a5492391ca0f94bd0a5586c1735f8db --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6689d9d..ca71fff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -140,7 +140,9 @@ find_package(Libosmocore) 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() -- cgit v1.2.3