Set minimum cmake version to 3.1 for C++ target.

This commit is contained in:
Mike Lischke 2016-10-04 10:09:31 +02:00
parent c968b5209e
commit bb5d7ef0b6
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# -*- mode:cmake -*-
cmake_minimum_required (VERSION 2.8)
# 2.8 needed because of ExternalProject
cmake_minimum_required (VERSION 3.1)
# 3.1 needed to allow enabling C++11
# Detect build type, fallback to release and throw a warning if use didn't specify any
if(NOT CMAKE_BUILD_TYPE)