09b47b5250
Unfortunately linking can be very fragile so let's not break things.
15 lines
419 B
CMake
15 lines
419 B
CMake
set(SCENE_QPAINTER_SRCS scene_qpainter.cpp)
|
|
|
|
add_library(KWinSceneQPainter MODULE scene_qpainter.cpp)
|
|
set_target_properties(KWinSceneQPainter PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/org.kde.kwin.scenes/")
|
|
target_link_libraries(KWinSceneQPainter
|
|
kwin
|
|
SceneQPainterBackend
|
|
)
|
|
|
|
install(
|
|
TARGETS
|
|
KWinSceneQPainter
|
|
DESTINATION
|
|
${PLUGIN_INSTALL_DIR}/org.kde.kwin.scenes/
|
|
)
|