Hi @qtSucks,
So why does it say it has found the package, then state wayland_found is set to false?
It doesn't say it has found the package, it says it has found the Find Module. They way CMake find_package works is like so:
when you request a package, CMake looks for a Find Module.
once found, CMake executes the Find Module to locate the actual package.
the Find Module sets variables (eg Wayland_FOUND) to indicate if Find Module found the package you're looking for (and where the libs are, etc).
So here:
find_package considered the following paths for FindWayland.cmake:
...
The file was found at
...
CMake is telling that the it found a Find Module at that location. CMake then should have evaluated the module, and that module reported that it can't find one or more of the libs you requested (ie set Wayland_FOUND to false).
It might help if you show the output that came after your snippet above.
Cheers.