Add "plasma-wayland-protocols" to list of dependancies.
I have encountered this error both while manually installing and through the AUR. I do not use wayland only X11. It gives this error. I needed to install plasma-wayland-protocols
package on Arch.
CMake Error at CMakeLists.txt:52 (find_package):
By not providing "FindPlasmaWaylandProtocols.cmake" in CMAKE_MODULE_PATH
this project has asked CMake to find a package configuration file provided
by "PlasmaWaylandProtocols", but CMake did not find one.
Could not find a package configuration file provided by
"PlasmaWaylandProtocols" (requested version 1.6) with any of the following
names:
PlasmaWaylandProtocolsConfig.cmake
plasmawaylandprotocols-config.cmake
Add the installation prefix of "PlasmaWaylandProtocols" to
CMAKE_PREFIX_PATH or set "PlasmaWaylandProtocols_DIR" to a directory
containing one of the above files. If "PlasmaWaylandProtocols" provides a
separate development package or SDK, be sure it has been installed.