Commit 463bd74b authored by Timothée Ravier's avatar Timothée Ravier
Browse files

Add option to not build KCM & KAuth support

parent d36209bd
Pipeline #227684 passed with stage
in 2 minutes and 30 seconds
......@@ -32,9 +32,13 @@ ecm_setup_version(${RELEASE_SERVICE_VERSION} VARIABLE_PREFIX KWALLETMANAGER
VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/src/kwalletmanager_version.h"
)
option(ENABLE_KAUTH "Enable KAuth support (Disabled for Flatpak builds)" ON)
if (ENABLE_KAUTH)
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED Auth)
endif()
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED
Archive
Auth
Config
ConfigWidgets
CoreAddons
......
add_subdirectory(konfigurator)
if (ENABLE_KAUTH)
add_subdirectory(konfigurator)
endif()
add_subdirectory(manager)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment