From 13695be03a8e78ccc24d0179a3ff243d8bd148d6 Mon Sep 17 00:00:00 2001 From: whitequark Date: Mon, 6 Nov 2017 05:40:49 +0000 Subject: [PATCH] CMake: update required version to 3.2. We use continue(), which was introduced in 3.2. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b8c1d89d..901f7fbd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,8 +7,8 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR) " mkdir build && cd build && cmake ..") endif() -cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR) -cmake_policy(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.2.0 FATAL_ERROR) +cmake_policy(VERSION 3.2.0) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/") set(CMAKE_CXX_STANDARD 11)