aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-06-02 12:02:15 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-06-07 12:07:38 +0200
commit83e352d0db254de863ba5e3e2f857ad3840b9096 (patch)
tree0bd27d0622aa9d41a87edc1bc906a6fc0cb2e29a
parent9d9e7775547a65de25fb87b02782aef97c5d6e23 (diff)
downloadayatana-indicator-session-83e352d0db254de863ba5e3e2f857ad3840b9096.tar.gz
ayatana-indicator-session-83e352d0db254de863ba5e3e2f857ad3840b9096.tar.bz2
ayatana-indicator-session-83e352d0db254de863ba5e3e2f857ad3840b9096.zip
Fix CMake deprecation warning
fixes https://github.com/AyatanaIndicators/ayatana-indicator-session/issues/37
-rw-r--r--CMakeLists.txt4
-rw-r--r--cmake/GdbusCodegen.cmake2
2 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3d43114..53ff26e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,5 @@
project (ayatana-indicator-session C CXX)
-cmake_minimum_required (VERSION 2.8.9)
+cmake_minimum_required (VERSION 3.13)
list (APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
@@ -19,7 +19,7 @@ endif()
##
## GNU standard installation directories
-##
+##
include (GNUInstallDirs)
set (CMAKE_INSTALL_PKGLIBEXECDIR "${CMAKE_INSTALL_LIBEXECDIR}/${CMAKE_PROJECT_NAME}")
set (CMAKE_INSTALL_FULL_PKGLIBEXECDIR "${CMAKE_INSTALL_FULL_LIBEXECDIR}/${CMAKE_PROJECT_NAME}")
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)