bump required version to 3.1 so that we can use a simple statement to turn on c++11 features

This commit is contained in:
Isaac Connor 2017-01-08 16:52:16 -05:00
parent cce87dd202
commit 9748b9346e
1 changed files with 2 additions and 1 deletions

View File

@ -2,11 +2,12 @@
# Created by mastertheknife (Kfir Itzhak) # Created by mastertheknife (Kfir Itzhak)
# For more information and installation, see the INSTALL file # For more information and installation, see the INSTALL file
# #
cmake_minimum_required (VERSION 2.8.7) cmake_minimum_required (VERSION 3.1.0)
project (zoneminder) project (zoneminder)
file (STRINGS "version" zoneminder_VERSION) file (STRINGS "version" zoneminder_VERSION)
# make API version a minor of ZM version # make API version a minor of ZM version
set(zoneminder_API_VERSION "${zoneminder_VERSION}.1") set(zoneminder_API_VERSION "${zoneminder_VERSION}.1")
set (CMAKE_CXX_STANDARD 11)
# Make sure the submodules are there # Make sure the submodules are there
if( NOT EXISTS "${CMAKE_SOURCE_DIR}/web/api/app/Plugin/Crud/Lib/CrudControllerTrait.php" ) if( NOT EXISTS "${CMAKE_SOURCE_DIR}/web/api/app/Plugin/Crud/Lib/CrudControllerTrait.php" )