Build KF5IdleTimeKWinWaylandPrivatePlugin in correct directory

Summary: Ensures that we can load the plugin when running only from build dir.

Reviewers: #kwin

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D16762
This commit is contained in:
Martin Flöser 2018-11-08 21:54:09 +01:00
parent e45d3fe5a4
commit c003db22c6

View file

@ -3,6 +3,7 @@ set(idletime_plugin_SRCS
) )
add_library(KF5IdleTimeKWinWaylandPrivatePlugin MODULE ${idletime_plugin_SRCS}) add_library(KF5IdleTimeKWinWaylandPrivatePlugin MODULE ${idletime_plugin_SRCS})
set_target_properties(KF5IdleTimeKWinWaylandPrivatePlugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/kf5/org.kde.kidletime.platforms/")
target_link_libraries(KF5IdleTimeKWinWaylandPrivatePlugin target_link_libraries(KF5IdleTimeKWinWaylandPrivatePlugin
kwin kwin
KF5::IdleTime KF5::IdleTime