aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-03-25 13:44:24 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-05-03 21:40:10 +0200
commit8a96865c85e675159bbe4cf91766ec3e785ce99b (patch)
treeeee47968095de5366de994b84d05aa6ecb525a41
parentbb0490d7393bb45d811d26d68c21a0b5ec4ea4ee (diff)
downloadayatana-indicator-power-8a96865c85e675159bbe4cf91766ec3e785ce99b.tar.gz
ayatana-indicator-power-8a96865c85e675159bbe4cf91766ec3e785ce99b.tar.bz2
ayatana-indicator-power-8a96865c85e675159bbe4cf91766ec3e785ce99b.zip
Fix cmake version warnings.
-rw-r--r--CMakeLists.txt2
-rw-r--r--cmake/GdbusCodegen.cmake2
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b78a69e..ae45795 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,5 @@
project(ayatana-indicator-power C CXX)
-cmake_minimum_required(VERSION 2.8.9)
+cmake_minimum_required(VERSION 3.13)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
diff --git a/cmake/GdbusCodegen.cmake b/cmake/GdbusCodegen.cmake
index ddb2995..5261ba8 100644
--- a/cmake/GdbusCodegen.cmake
+++ b/cmake/GdbusCodegen.cmake
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.6)
+cmake_minimum_required(VERSION 3.13)
if(POLICY CMP0011)
cmake_policy(SET CMP0011 NEW)
endif(POLICY CMP0011)