Add conditional to avoid calling summary_view twice
This commit is contained in:
parent
a9fae41ac0
commit
740616fac3
1 changed files with 2 additions and 0 deletions
|
@ -135,7 +135,9 @@ set_package_properties(XCB PROPERTIES TYPE REQUIRED)
|
||||||
find_package(XCB COMPONENTS ICCCM)
|
find_package(XCB COMPONENTS ICCCM)
|
||||||
add_feature_info("XCB-ICCCM" XCB_ICCCM_FOUND "Required for building test applications for KWin")
|
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)
|
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
|
||||||
|
endif()
|
||||||
|
|
||||||
########### configure tests ###############
|
########### configure tests ###############
|
||||||
include(CMakeDependentOption)
|
include(CMakeDependentOption)
|
||||||
|
|
Loading…
Reference in a new issue