From 7bcd627e2945c193d3a8bee7089ec1e2fab89eac Mon Sep 17 00:00:00 2001 From: Alexandru Gagniuc Date: Wed, 28 Nov 2018 14:36:37 -0600 Subject: [PATCH] cmake: Don't do a QUIET search for libsigrokcxx libsigrokcxx is the most important dependency. A QUIET search means we can miss important information, such as a version mismatch, and the "libsigrokcxx not found" message is not at all helpful in determining the cause of the problem. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b74792d..b6f25e2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -87,7 +87,7 @@ if(ANDROID) endif() find_package(PkgConfig) -pkg_check_modules(LIBSRCXX QUIET ${LIBSR_CXX_BINDING}) +pkg_check_modules(LIBSRCXX ${LIBSR_CXX_BINDING}) if(NOT LIBSRCXX_FOUND OR NOT LIBSRCXX_VERSION) message(FATAL_ERROR "libsigrok C++ bindings missing, check libsigrok's 'configure' output (missing dependencies?)") endif() -- 2.30.2