CMake: update required version to 3.2.

We use continue(), which was introduced in 3.2.
pull/307/head
whitequark 2017-11-06 05:40:49 +00:00
parent 16540b1b2c
commit 13695be03a
1 changed files with 2 additions and 2 deletions

View File

@ -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)