moodyhunter / applet-window-buttons6

Plasma ~~5~~ (no, 6) applet in order to show window buttons in your panels
GNU General Public License v2.0
54 stars 8 forks source link

Unable to install in Plasma 6 #12

Open AsuToki360 opened 7 months ago

AsuToki360 commented 7 months ago

The following error appears: CMake Error at CMakeLists.txt:13 (find_package): Could not find a package configuration file provided by "ECM" (requested version 5.246.0) with any of the following names:

ECMConfig.cmake
ecm-config.cmake

Add the installation prefix of "ECM" to CMAKE_PREFIX_PATH or set "ECM_DIR" to a directory containing one of the above files. If "ECM" provides a separate development package or SDK, be sure it has been installed.

I'm on Arch Linux.

Nick15104 commented 6 months ago

This solved it for me.

git clone https://invent.kde.org/frameworks/extra-cmake-modules.git cd extra-cmake-modules mkdir build && cd build cmake .. make && sudo make install

https://superuser.com/questions/850029/could-not-find-a-configuration-file-for-package-ecm-that-is-compatible-with-re