diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2017-07-27 11:38:19 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2017-07-27 09:50:15 +0000 |
commit | b1c4e828894d2a1106ff1d3ca5fc7d0853301b59 (patch) | |
tree | 73cb46880ca7ce0044ec4295014f02dc3769fe4f /sources/shiboken2/CMakeLists.txt | |
parent | 21628d7a876ce023c5c98bc8f4601f418e80f0db (diff) |
Bump minimum required CMake version to 3.1
Shiboken uses C++11 features, and thus the CMAKE_CXX_STANDARD setting
needs to be set in the CMakeLists.txt file. The setting was introduced
in CMake version 3.1.0. Thus we bump the minimum required version.
Change-Id: Ic93dc76440930a19945bbd95461fc5859f2df0d0
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken2/CMakeLists.txt')
-rw-r--r-- | sources/shiboken2/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/shiboken2/CMakeLists.txt b/sources/shiboken2/CMakeLists.txt index 56107a8d6..bd715bb9c 100644 --- a/sources/shiboken2/CMakeLists.txt +++ b/sources/shiboken2/CMakeLists.txt @@ -1,8 +1,8 @@ Include(icecc.cmake) project(shiboken2) -cmake_minimum_required(VERSION 3.0) -cmake_policy(VERSION 3.0) +cmake_minimum_required(VERSION 3.1) +cmake_policy(VERSION 3.1) set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/Modules/ ${CMAKE_MODULE_PATH}) |