https://bugs.kde.org/show_bug.cgi?id=451043

            Bug ID: 451043
           Summary: KWin's CMake can't find wayland at /usr/local, only
                    /usr
           Product: kwin
           Version: git master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: n...@kde.org
  Target Milestone: ---

I have compiled Wayland to /usr/local because the 1.19 version provided by my
distro is not new enough to build kwayland-server and kwin, which require 1.20
as of
https://invent.kde.org/plasma/kwayland-server/-/commit/7ed6fae8e2638ad2896d3d3e957a09ddd16ded21.

kwayland-server correctly found up the version compiled to /usr/local, but KWin
did not, looking only in /usr:

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230
(message):
  Could NOT find Wayland: Found unsuitable version "1.19.0", but required is
  at least "1.20" (found
 
/usr/lib64/libwayland-client.so;/usr/lib64/libwayland-server.so;/usr/lib64/libwayland-cursor.so;/usr/lib64/libwayland-egl.so,
  )
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:592
(_FPHSA_FAILURE_MESSAGE)
  /home/nate/kde/usr/share/ECM/find-modules/FindWayland.cmake:110
(find_package_handle_standard_args)
  /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
  /home/nate/kde/usr/lib64/cmake/KWaylandServer/KWaylandServerConfig.cmake:30
(find_dependency)
  CMakeLists.txt:139 (find_package)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to