[users] Link to CoreAddons for KMacroExpander in config

This commit is contained in:
Adriaan de Groot 2022-04-12 14:10:12 +02:00
parent bb278c7ba9
commit 2c0d9396e2

View File

@ -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}