modifed minimum required cmake version for ios

This commit is contained in:
Artem Myagkov 2011-08-31 18:42:44 +00:00
parent ec6636a664
commit abdd342d50
2 changed files with 6 additions and 2 deletions

View File

@ -36,7 +36,11 @@ endif(NOT CMAKE_TOOLCHAIN_FILE)
# -------------------------------------------------------------- # --------------------------------------------------------------
# Top level OpenCV project # Top level OpenCV project
# -------------------------------------------------------------- # --------------------------------------------------------------
cmake_minimum_required(VERSION 2.6) if(NOT IOS)
cmake_minimum_required(VERSION 2.6)
else()
cmake_minimum_required(VERSION 2.8)
endif()
project(OpenCV) project(OpenCV)
set(CMAKE_CONFIGURATION_TYPES "Debug;Release" CACHE STRING "Configs" FORCE) set(CMAKE_CONFIGURATION_TYPES "Debug;Release" CACHE STRING "Configs" FORCE)

View File

@ -7,7 +7,7 @@ Required packages
================== ==================
* GCC 4.x or later * GCC 4.x or later
* CMake 2.6 or higher * CMake 2.8 or higher
* Xcode 4.0 or higher * Xcode 4.0 or higher
Getting the cutting-edge OpenCV from SourceForge SVN repository Getting the cutting-edge OpenCV from SourceForge SVN repository