mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 06:03:15 +08:00
modifed minimum required cmake version for ios
This commit is contained in:
parent
ec6636a664
commit
abdd342d50
@ -36,7 +36,11 @@ endif(NOT CMAKE_TOOLCHAIN_FILE)
|
||||
# --------------------------------------------------------------
|
||||
# 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)
|
||||
|
||||
set(CMAKE_CONFIGURATION_TYPES "Debug;Release" CACHE STRING "Configs" FORCE)
|
||||
|
@ -7,7 +7,7 @@ Required packages
|
||||
==================
|
||||
|
||||
* GCC 4.x or later
|
||||
* CMake 2.6 or higher
|
||||
* CMake 2.8 or higher
|
||||
* Xcode 4.0 or higher
|
||||
|
||||
Getting the cutting-edge OpenCV from SourceForge SVN repository
|
||||
|
Loading…
Reference in New Issue
Block a user