Using VERSION_LESS instead of VERSION_GREATER_EQUAL
Since apparently VERSION_GREATER_EQUAL exists only from CMake 3.7, while Android is using CMake 3.6.
This commit is contained in:
parent
dfcd43bc49
commit
f6afb5e0f3
@ -7,7 +7,7 @@ else()
|
|||||||
cmake_policy(VERSION 3.11)
|
cmake_policy(VERSION 3.11)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (${CMAKE_VERSION} VERSION_GREATER_EQUAL 3.15)
|
if (NOT ${CMAKE_VERSION} VERSION_LESS 3.15)
|
||||||
# Set policy to accept MSVC runtime selector (requires CMake >= 3.15)
|
# Set policy to accept MSVC runtime selector (requires CMake >= 3.15)
|
||||||
cmake_policy (SET CMP0091 NEW)
|
cmake_policy (SET CMP0091 NEW)
|
||||||
option(MSVC_BUILD_STATIC "Enable building with static CRT." OFF)
|
option(MSVC_BUILD_STATIC "Enable building with static CRT." OFF)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user