Check that pkg-config is available

It is needed to properly detect the grcc full path
See also 3f6ab15a7a
This commit is contained in:
Vasil Velichkov 2018-04-30 20:01:16 +03:00 committed by Piotr Krysik
parent 8c4eefb205
commit 9b5519db84
1 changed files with 3 additions and 1 deletions

View File

@ -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()