From 11e78a12ccb49da23fb2e5814571cd47ac95ff42 Mon Sep 17 00:00:00 2001 From: Jose Fonseca Date: Tue, 15 Mar 2016 11:25:15 +0000 Subject: [PATCH] cmake: Require CMake 3.1. So there's no chance we'll ever generate zip packages again. --- CMakeLists.txt | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6db93c9a..e56ebf88 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 2.8.11) +cmake_minimum_required (VERSION 3.1) project (drmingw) @@ -162,11 +162,7 @@ if (CMAKE_SIZEOF_VOID_P EQUAL 8) set (CPACK_SYSTEM_NAME win64) endif () -if (CMAKE_VERSION VERSION_LESS 3.1) - set (CPACK_GENERATOR "ZIP") -else () - set (CPACK_GENERATOR "7Z") -endif () +set (CPACK_GENERATOR "7Z") set (CPACK_STRIP_FILES ON)