From 4edc611526fc2aa17a7f5e82ce0147d799d2c508 Mon Sep 17 00:00:00 2001 From: Pascal Quantin Date: Sat, 10 Jun 2017 16:31:52 +0200 Subject: Windows: increase minimum CMake version to 3.7 g9f0d22b introduced the use of GREATER_EQUAL operator. Let's update the minimum CMake version accordingly. Change-Id: Ibf619a24f5ee296b547fbc6ba46e13b8a1f3302c Reviewed-on: https://code.wireshark.org/review/22066 Petri-Dish: Pascal Quantin Reviewed-by: Anders Broman Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin --- CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 1916c1bfa1..86e4614197 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,10 +37,8 @@ set(PROJECT_VERSION "${PROJECT_MAJOR_VERSION}.${PROJECT_MINOR_VERSION}.${PROJECT message(STATUS "Generating build using CMake ${CMAKE_VERSION}") if(WIN32) - # Needed for proper Qt linking. See - # http://www.cmake.org/cmake/help/v3.0/policy/CMP0020.html - # 3.1.3 is the currently supported version - cmake_minimum_required(VERSION 3.1.3) + # Needed for GREATER_EQUAL operator + cmake_minimum_required(VERSION 3.7) else() cmake_minimum_required(VERSION 2.8.8) endif() -- cgit v1.2.1