From fda302af9819d8391ea9972e97c9e2200bbfd520 Mon Sep 17 00:00:00 2001 From: Robert Adam Date: Mon, 31 Aug 2020 17:18:42 +0200 Subject: BUILD(cmake): Added debug-dependency-search option If the user uses -Ddebug-dependency-search=OFF, then the find_pkg function will not perform its searches using the QUIET flag causing a lot of (valuable) information to be printed to the screen. --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index f16a72adf..695362c2f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,6 +47,8 @@ option(overlay "Build overlay." ON) option(packaging "Build package." OFF) option(plugins "Build plugins." ON) +option(debug-dependency-search "Prints extended information during the search for the needed dependencies" OFF) + # We support the "Debug" and "Release" configurations. set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" -- cgit v1.2.3