Skip to content

Commit

Permalink
[PoC] Use upstream cmake integration
Browse files Browse the repository at this point in the history
Instead of using a custom find module for kwineffects use the new upstream cmake support from https://invent.kde.org/plasma/kwin/-/merge_requests/342
  • Loading branch information
nicolasfella committed Oct 13, 2020
1 parent 1e38dd1 commit d2477cc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 104 deletions.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,15 @@ find_package(KF5 REQUIRED COMPONENTS
WindowSystem
)

find_package(kwineffects REQUIRED COMPONENTS
find_package(XCB)

find_package(KWinEffects REQUIRED COMPONENTS
kwineffects
kwinglutils
)

find_package(KWaylandServer REQUIRED)

find_package(KWinDBusInterface CONFIG REQUIRED)

find_package(epoxy REQUIRED)
Expand Down
101 changes: 0 additions & 101 deletions cmake/Modules/Findkwineffects.cmake

This file was deleted.

4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ target_link_libraries(kwin4_effect_yetanothermagiclamp
KF5::ConfigGui
KF5::CoreAddons
KF5::WindowSystem
kwineffects::kwineffects
kwineffects::kwinglutils
KWinEffects::kwineffects
KWinEffects::kwinglutils
${epoxy_LIBRARY}
)

Expand Down

0 comments on commit d2477cc

Please sign in to comment.