Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dschmidt/libcrashreporter-qt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Schmidt <dev@dominik-schmidt.de>2018-01-14 02:41:34 +0300
committerDominik Schmidt <dev@dominik-schmidt.de>2018-01-14 02:41:34 +0300
commit576c3acaff607ebd96202cdc54a952819e19fbfb (patch)
treed627c7c213c86a3ac81fc6d1076492390b836f9e
parent61dc3963c2b59894e7d3f3bd758c43b59665054a (diff)
Bump CMake version requirement
-rw-r--r--CMakeLists.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9ec81a3..4a78c25 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,10 @@
project(libcrashreporter-qt)
-cmake_minimum_required(VERSION 2.8.11)
-cmake_policy(SET CMP0020 OLD)
+cmake_minimum_required(VERSION 3.1)
+
+if(POLICY CMP0071)
+ cmake_policy(SET CMP0071 NEW)
+endif()
+
if((CMAKE_COMPILER_IS_GNUCXX AND CMAKE_CXX_FLAGS) OR
(UNIX AND NOT APPLE AND CMAKE_CXX_COMPILER_ID MATCHES "Clang"))