Merge pull request #4872 from lhuang04/development_cmp0090

Update CMake version for CMP0090
This commit is contained in:
Janos Follath 2021-08-18 08:38:59 +01:00 committed by GitHub
commit 08b2d27d58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -330,7 +330,7 @@ install(
DESTINATION "cmake"
FILE "MbedTLSTargets.cmake")
if(CMAKE_VERSION VERSION_GREATER 3.14)
if(CMAKE_VERSION VERSION_GREATER 3.15 OR CMAKE_VERSION VERSION_EQUAL 3.15)
# Do not export the package by default
cmake_policy(SET CMP0090 NEW)