Skip to content

Commit 92f182b

Browse files
committed
minimal CMake version => 2.8.12.2
1 parent bc3c7e8 commit 92f182b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ endif()
1818
include(cmake/OpenCVMinDepVersions.cmake)
1919

2020
if(CMAKE_GENERATOR MATCHES Xcode AND XCODE_VERSION VERSION_GREATER 4.3)
21-
cmake_minimum_required(VERSION 2.8.8 FATAL_ERROR)
21+
cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
2222
elseif(CMAKE_SYSTEM_NAME MATCHES WindowsPhone OR CMAKE_SYSTEM_NAME MATCHES WindowsStore)
2323
cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
2424
#Required to resolve linker error issues due to incompatibility with CMake v3.0+ policies.

cmake/OpenCVMinDepVersions.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
set(MIN_VER_CMAKE 2.8.7)
1+
set(MIN_VER_CMAKE 2.8.12.2)
22
set(MIN_VER_CUDA 6.5)
33
set(MIN_VER_PYTHON2 2.6)
44
set(MIN_VER_PYTHON3 3.2)

0 commit comments

Comments
 (0)