[plasma/kscreenlocker] greeter/worker: worker: workerresult is not a shared library

Harald Sitter <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit abbe80d55f92f7c8e54f0389eada6ef891e198f3 by Harald Sitter.
Committed on 18/08/2026 at 13:12.
Pushed by sitter into branch 'master'.

worker: workerresult is not a shared library

only reason it exists at all is to communicate the interface path

M  +2    -2    greeter/worker/CMakeLists.txt

https://invent.kde.org/plasma/kscreenlocker/-/commit/abbe80d55f92f7c8e54f0389eada6ef891e198f3

diff --git a/greeter/worker/CMakeLists.txt b/greeter/worker/CMakeLists.txt
index 8c627d67..4e4c3095 100644
--- a/greeter/worker/CMakeLists.txt
+++ b/greeter/worker/CMakeLists.txt
@@ -34,8 +34,8 @@ endif()
 
 configure_file(config-worker.h.in ${CMAKE_CURRENT_BINARY_DIR}/config-worker.h)
 
-add_library(WorkerResult)
-target_include_directories(WorkerResult PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR};${CMAKE_CURRENT_BINARY_DIR}>")
+add_library(WorkerResult INTERFACE)
+target_include_directories(WorkerResult INTERFACE "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR};${CMAKE_CURRENT_BINARY_DIR}>")
 
 qt_add_dbus_interface(SRCS org.kde.plasma.screenlocker.xml org.kde.plasma.screenlocker)
 add_executable(kscreenlocker_worker main.cpp ${SRCS})
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.