diff options
author | Robert Tari <robert@tari.in> | 2021-12-10 10:30:18 +0100 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-12-10 10:32:19 +0100 |
commit | 6abf90873d6f595674e9d5fed6ccbbbda1d0268d (patch) | |
tree | 7ea52de5275990efeced9e5fbcb17dc7e84a55fc | |
parent | af5a57545d9aa5493790798b77364f3c923eb337 (diff) | |
download | qmenumodel-6abf90873d6f595674e9d5fed6ccbbbda1d0268d.tar.gz qmenumodel-6abf90873d6f595674e9d5fed6ccbbbda1d0268d.tar.bz2 qmenumodel-6abf90873d6f595674e9d5fed6ccbbbda1d0268d.zip |
Fix CMake version and add required test packages
fixes https://github.com/AyatanaIndicators/qmenumodel/issues/15
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | tests/CMakeLists.txt | 5 |
2 files changed, 6 insertions, 1 deletions
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)
|