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 b82ae35
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 @@ -23,16 +23,20 @@ find_package(Qt5 REQUIRED COMPONENTS
Core
DBus
Gui
Quick
)

find_package(KF5 REQUIRED COMPONENTS
Config
ConfigWidgets
CoreAddons
WindowSystem
Declarative
)

find_package(kwineffects REQUIRED COMPONENTS
find_package(XCB)

find_package(KWinEffects REQUIRED COMPONENTS
kwineffects
kwinglutils
)
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 b82ae35

Please sign in to comment.