From 740616fac3ee0608a65ae9ac9be6d11db9b77885 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=80lex=20Fiestas?= Date: Fri, 21 Mar 2014 17:47:50 +0100 Subject: [PATCH] Add conditional to avoid calling summary_view twice --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index fea166b4bd..a190b38007 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -135,7 +135,9 @@ set_package_properties(XCB PROPERTIES TYPE REQUIRED) find_package(XCB COMPONENTS ICCCM) add_feature_info("XCB-ICCCM" XCB_ICCCM_FOUND "Required for building test applications for KWin") +if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}) feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES) +endif() ########### configure tests ############### include(CMakeDependentOption)