aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-06-07 12:08:27 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-06-07 12:08:27 +0200
commit479aefda4fdc32b859f2aec396f3f69921472bb6 (patch)
tree0bd27d0622aa9d41a87edc1bc906a6fc0cb2e29a
parent9d9e7775547a65de25fb87b02782aef97c5d6e23 (diff)
parent83e352d0db254de863ba5e3e2f857ad3840b9096 (diff)
downloadayatana-indicator-session-479aefda4fdc32b859f2aec396f3f69921472bb6.tar.gz
ayatana-indicator-session-479aefda4fdc32b859f2aec396f3f69921472bb6.tar.bz2
ayatana-indicator-session-479aefda4fdc32b859f2aec396f3f69921472bb6.zip
Merge branch 'tari01-pr/fix-cmake-deprecation-warning'
Attributes GH PR #39: https://github.com/AyatanaIndicators/ayatana-indicator-session/pull/39
-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)