Commit a44d0fe6 authored by David Jarvie's avatar David Jarvie
Browse files

KAuth should only be included when wake-from-suspend is enabled

parent 0774ff20
Pipeline #162431 passed with stage
in 1 minute and 35 seconds
......@@ -270,7 +270,6 @@ target_compile_definitions(kalarm_bin PRIVATE -DVERSION="${KALARM_VERSION}")
target_link_libraries(kalarm_bin
kalarmprivate
KF5::Auth
KF5::Codecs
KF5::ConfigCore
KF5::Completion
......@@ -303,6 +302,10 @@ target_link_libraries(kalarm_bin
KF5::PimCommon
)
if (ENABLE_WAKE_FROM_SUSPEND)
target_link_libraries(kalarm_bin KF5::Auth)
endif()
if (Qt${QT_MAJOR_VERSION}X11Extras_FOUND)
target_link_libraries(kalarm_bin Qt${QT_MAJOR_VERSION}::X11Extras ${X11_X11_LIB})
endif()
......
Markdown is supported
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