Add conditional to avoid calling summary_view twice

icc-effect-5.14.5
Àlex Fiestas 2014-03-21 17:47:50 +01:00
parent a9fae41ac0
commit 740616fac3
1 changed files with 2 additions and 0 deletions

View File

@ -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)