|
|
@ -18,7 +18,7 @@ endif() |
|
|
|
include(cmake/OpenCVMinDepVersions.cmake) |
|
|
|
include(cmake/OpenCVMinDepVersions.cmake) |
|
|
|
|
|
|
|
|
|
|
|
if(CMAKE_GENERATOR MATCHES Xcode AND XCODE_VERSION VERSION_GREATER 4.3) |
|
|
|
if(CMAKE_GENERATOR MATCHES Xcode AND XCODE_VERSION VERSION_GREATER 4.3) |
|
|
|
cmake_minimum_required(VERSION 2.8.8 FATAL_ERROR) |
|
|
|
cmake_minimum_required(VERSION 3.0 FATAL_ERROR) |
|
|
|
elseif(CMAKE_SYSTEM_NAME MATCHES WindowsPhone OR CMAKE_SYSTEM_NAME MATCHES WindowsStore) |
|
|
|
elseif(CMAKE_SYSTEM_NAME MATCHES WindowsPhone OR CMAKE_SYSTEM_NAME MATCHES WindowsStore) |
|
|
|
cmake_minimum_required(VERSION 3.1 FATAL_ERROR) |
|
|
|
cmake_minimum_required(VERSION 3.1 FATAL_ERROR) |
|
|
|
#Required to resolve linker error issues due to incompatibility with CMake v3.0+ policies. |
|
|
|
#Required to resolve linker error issues due to incompatibility with CMake v3.0+ policies. |
|
|
|