From 2c0d9396e27783b19d8da640e0eaad4a6944f34d Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Tue, 12 Apr 2022 14:10:12 +0200 Subject: [PATCH] [users] Link to CoreAddons for KMacroExpander in config --- src/modules/users/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules/users/CMakeLists.txt b/src/modules/users/CMakeLists.txt index 1ee9832c4..060c9b691 100644 --- a/src/modules/users/CMakeLists.txt +++ b/src/modules/users/CMakeLists.txt @@ -40,6 +40,7 @@ set(_users_src Config.cpp ) +# This part of the code is shared with the usersq module calamares_add_library( users_internal EXPORT_MACRO PLUGINDLLEXPORT_PRO @@ -49,6 +50,7 @@ calamares_add_library( SOURCES ${_users_src} LINK_LIBRARIES + KF5::CoreAddons Qt5::DBus ${CRYPT_LIBRARIES} ) @@ -78,6 +80,7 @@ calamares_add_test( TestGroupInformation.cpp ${_users_src} # Build again with test-visibility LIBRARIES + KF5::CoreAddons Qt5::DBus # HostName job can use DBus to systemd ${CRYPT_LIBRARIES} # SetPassword job uses crypt() ${USER_EXTRA_LIB} @@ -96,6 +99,7 @@ calamares_add_test( Tests.cpp ${_users_src} # Build again with test-visibility LIBRARIES + KF5::CoreAddons Qt5::DBus # HostName job can use DBus to systemd ${CRYPT_LIBRARIES} # SetPassword job uses crypt() ${USER_EXTRA_LIB}