CMake: Add missing find_package(ECM) for NoGUI/Wayland

This commit is contained in:
Connor McLaughlin 2022-09-19 15:41:37 +10:00
parent 3dcd901885
commit c817030263

View file

@ -34,6 +34,9 @@ endif()
if(USE_WAYLAND)
message(STATUS "Building Wayland NoGUI Platform.")
find_package(ECM REQUIRED NO_MODULE)
list(APPEND CMAKE_MODULE_PATH "${ECM_MODULE_PATH}")
find_package(Wayland REQUIRED Client)
find_package(WaylandScanner REQUIRED)
find_package(WaylandProtocols 1.15 REQUIRED)