From 6abf90873d6f595674e9d5fed6ccbbbda1d0268d Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Fri, 10 Dec 2021 10:30:18 +0100 Subject: Fix CMake version and add required test packages fixes https://github.com/AyatanaIndicators/qmenumodel/issues/15 --- CMakeLists.txt | 2 +- tests/CMakeLists.txt | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 62b7e94..e2d0be9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ project(qmenumodel) set (PROJECT_VERSION "0.8.1") -cmake_minimum_required(VERSION 2.8.9) +cmake_minimum_required(VERSION 3.13) # Standard install paths include(GNUInstallDirs) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 96c4bad..0e94a94 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,2 +1,7 @@ +find_package(Qt5Quick REQUIRED) +find_package(Qt5Test REQUIRED) +find_package(Qt5Widgets REQUIRED) +find_package(Qt5DBus REQUIRED) + add_subdirectory(script) add_subdirectory(client) -- cgit v1.2.3