cmake_minimum_required(VERSION 3.5.0) project(snap-installation-monitor) set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_AUTOMOC ON) find_package(Qt6 COMPONENTS Widgets DBus REQUIRED) set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD_REQUIRED ON) add_executable(snap-installation-monitor main.cpp) target_link_libraries(snap-installation-monitor Qt6::Widgets Qt6::DBus)