Skip to content
Snippets Groups Projects
Commit e3e9ec1c authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'cmp0083' into release


f5514ee6 cmake: Set policy CMP0083 explicitly to avoid warnings

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !4889
parents f4f64c6d f5514ee6
No related branches found
No related tags found
No related merge requests found
cmake_minimum_required(VERSION 3.3...3.12 FATAL_ERROR)
foreach(policy
CMP0083 # CMake 3.14
)
if(POLICY ${policy})
cmake_policy(SET ${policy} NEW)
endif()
endforeach()
if(CMAKE_SYSTEM_NAME STREQUAL "Android" AND CMAKE_VERSION VERSION_LESS 3.7)
message(FATAL_ERROR "CMake 3.7 or above is required to build for Android")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment