# SPDX-FileCopyrightText: 2021 Pier Luigi Fiorini # # SPDX-License-Identifier: BSD-3-Clause ## Find prctl.h: include(CheckIncludeFile) check_include_file("sys/prctl.h" HAVE_SYS_PRCTL_H) ## Find Qt: find_package(Qt6 "6.6.0" REQUIRED COMPONENTS Core Concurrent DBus Xml Sql Gui WaylandClient Widgets Svg Qml Quick QuickControls2 LinguistTools ) if(NOT COMMAND aurora_generate_wayland_protocol_client_sources) ## Find Aurora Scanner: find_package(AuroraScanner REQUIRED) endif() #### Features # liri-development-build option(FEATURE_liri_development_build "Development build" OFF) add_feature_info("Liri::DevelopmentBuild" FEATURE_liri_development_build "Build Liri Shell for development") set(LIRI_FEATURE_liri_development_build "$") # liri-enable-systemd option(FEATURE_shell_enable_systemd "Enable systemd support" ON) if(FEATURE_shell_enable_systemd) find_package(Libsystemd QUIET) if(NOT TARGET PkgConfig::Libsystemd) message(WARNING "You need libsystemd for Shell::Systemd") set(FEATURE_enable_systemd OFF) endif() endif() add_feature_info("Shell::Systemd" FEATURE_shell_enable_systemd "Enable systemd support") set(LIRI_FEATURE_shell_enable_systemd "$") ## Features summary: if(NOT LIRI_SUPERBUILD) feature_summary(WHAT ENABLED_FEATURES DISABLED_FEATURES) endif()