Merge pull request #6274 from Bleach665:cmake_policy_0020

This commit is contained in:
Alexander Alekhin 2016-03-16 13:49:32 +00:00
commit 08d5ab577c

View File

@ -68,6 +68,10 @@ if(WINRT)
endif() endif()
endif() endif()
if(POLICY CMP0020)
cmake_policy(SET CMP0020 OLD)
endif()
if(POLICY CMP0022) if(POLICY CMP0022)
cmake_policy(SET CMP0022 OLD) cmake_policy(SET CMP0022 OLD)
endif() endif()