|
|
|
@ -261,6 +261,8 @@ if( Qt5_VERSION VERSION_GREATER 5.12.1 )
|
|
|
|
|
list( APPEND _tx_ok "eo" )
|
|
|
|
|
endif()
|
|
|
|
|
endif()
|
|
|
|
|
# Optional Qt parts
|
|
|
|
|
find_package( Qt5DBus CONFIG )
|
|
|
|
|
|
|
|
|
|
find_package( YAMLCPP ${YAMLCPP_VERSION} REQUIRED )
|
|
|
|
|
if( INSTALL_POLKIT )
|
|
|
|
@ -291,7 +293,14 @@ if( ECM_FOUND )
|
|
|
|
|
include(KDEInstallDirs)
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
find_package( KF5 COMPONENTS CoreAddons Crash )
|
|
|
|
|
find_package( KF5 QUIET COMPONENTS CoreAddons Crash )
|
|
|
|
|
set_package_properties(
|
|
|
|
|
KF5::CoreAddons PROPERTIES
|
|
|
|
|
TYPE REQUIRED
|
|
|
|
|
DESCRIPTION "Classes built on QtCore for About Data"
|
|
|
|
|
URL "https://api.kde.org/frameworks/kcoreaddons/"
|
|
|
|
|
PURPOSE "About Calamares"
|
|
|
|
|
)
|
|
|
|
|
if( NOT KF5Crash_FOUND )
|
|
|
|
|
set( WITH_KF5Crash OFF )
|
|
|
|
|
endif()
|
|
|
|
@ -590,10 +599,25 @@ add_custom_target( uninstall
|
|
|
|
|
|
|
|
|
|
### CMAKE SUMMARY REPORT
|
|
|
|
|
#
|
|
|
|
|
feature_summary(WHAT ALL)
|
|
|
|
|
|
|
|
|
|
get_directory_property( SKIPPED_MODULES
|
|
|
|
|
DIRECTORY src/modules
|
|
|
|
|
DEFINITION LIST_SKIPPED_MODULES
|
|
|
|
|
)
|
|
|
|
|
calamares_explain_skipped_modules( ${SKIPPED_MODULES} )
|
|
|
|
|
|
|
|
|
|
feature_summary(
|
|
|
|
|
WHAT DISABLED_FEATURES
|
|
|
|
|
DESCRIPTION "The following features have been disabled:"
|
|
|
|
|
QUIET_ON_EMPTY
|
|
|
|
|
)
|
|
|
|
|
feature_summary(
|
|
|
|
|
WHAT OPTIONAL_PACKAGES_NOT_FOUND
|
|
|
|
|
DESCRIPTION "The following OPTIONAL packages were not found:"
|
|
|
|
|
QUIET_ON_EMPTY
|
|
|
|
|
)
|
|
|
|
|
feature_summary(
|
|
|
|
|
WHAT REQUIRED_PACKAGES_NOT_FOUND
|
|
|
|
|
FATAL_ON_MISSING_REQUIRED_PACKAGES
|
|
|
|
|
DESCRIPTION "The following REQUIRED packages were not found:"
|
|
|
|
|
QUIET_ON_EMPTY
|
|
|
|
|
)
|
|
|
|
|