modifed minimum required cmake version for ios
authorArtem Myagkov <no@email>
Wed, 31 Aug 2011 18:42:44 +0000 (18:42 +0000)
committerArtem Myagkov <no@email>
Wed, 31 Aug 2011 18:42:44 +0000 (18:42 +0000)
CMakeLists.txt
doc/tutorials/introduction/ios_install/ios_install.rst

index 3fe53c0..fe7c08d 100644 (file)
@@ -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)
index 4b4f551..7516ce0 100644 (file)
@@ -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