aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVasil Velichkov <vvvelichkov@gmail.com>2018-04-30 20:01:16 +0300
committerPiotr Krysik <pkrysik@elka.pw.edu.pl>2018-06-18 15:11:17 +0200
commit538fc97c529616ebeb8e6ebf9cb90418456318c6 (patch)
tree2fa478d703cca6236d088ec27e21f658a06983c2
parent09e545e1450f2cc712eab89b0bbd5d9111aed13d (diff)
Check that pkg-config is available
It is needed to properly detect the grcc full path See also 3f6ab15a7a5492391ca0f94bd0a5586c1735f8db
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
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()