1 2 3 4 5
find_package(Qt6 COMPONENTS WaylandClient) if(TARGET Qt::WaylandClient AND TARGET Qt::Widgets) add_subdirectory(widgets) endif()