summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2016-08-08 14:16:36 +0200
committerJulian Andres Klode <jak@debian.org>2016-08-10 16:11:48 +0200
commit4924e4686cd9f4839993620e1726995f732216e8 (patch)
tree7cb054ba9f175b99e73604cf83bc26adf9fd89d7
parent7c317e9e90ccbaaab88550f69b902e88e379055c (diff)
CMake: Bump minimum required version to 3.4.0
The SOURCE_DIR property is used for the translation building and was introduced in cmake 3.4
-rw-r--r--CMakeLists.txt2
-rw-r--r--debian/control2
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9e85e7b84..9082118fe 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,7 +3,7 @@
# set minimum version
project(apt)
-cmake_minimum_required(VERSION 3.3.0)
+cmake_minimum_required(VERSION 3.4.0)
enable_testing()
diff --git a/debian/control b/debian/control
index 2c2fc8085..bc118b52d 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,7 @@ Build-Depends: dpkg-dev (>= 1.17.14), debhelper (>= 9.20141010), libdb-dev,
gettext (>= 0.12), libcurl4-gnutls-dev (>= 7.19.4~),
zlib1g-dev, libbz2-dev, liblzma-dev, liblz4-dev (>= 0.0~r126),
xsltproc, docbook-xsl, docbook-xml, po4a (>= 0.34-2),
- cmake, pkg-config, libgtest-dev <!nocheck>, dh-systemd
+ cmake (>= 3.4), pkg-config, libgtest-dev <!nocheck>, dh-systemd
Build-Depends-Indep: doxygen, w3m, graphviz
Build-Conflicts: autoconf2.13, automake1.4
Vcs-Git: https://anonscm.debian.org/git/apt/apt.git