telepathy-qt: CMake: Raise fatal error if a required package not found

Alexandr Akulich kaffeine at kemper.freedesktop.org
Mon Sep 2 18:00:11 UTC 2019


Module: telepathy-qt
Branch: master
Commit: 17481c888fe974f1f7fa567ff96b78df3febad05
URL:    http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=17481c888fe974f1f7fa567ff96b78df3febad05

Author: Alexander Akulich <akulichalexander at gmail.com>
Date:   Fri Aug 30 00:23:59 2019 +0300

CMake: Raise fatal error if a required package not found

---

 CMakeLists.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index ec887f26..64ecfffa 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -252,7 +252,9 @@ add_custom_target(uninstall
     "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
 
 # Display the feature log
-feature_summary(WHAT ALL)
+feature_summary(
+    FATAL_ON_MISSING_REQUIRED_PACKAGES
+    WHAT ALL)
 
 # Always keep it last: CPack definitions file
 include(TelepathyDist)



More information about the telepathy-commits mailing list