move cmake policy CMP0050 to new style

This commit is contained in:
wmayer
2018-08-19 13:59:42 +02:00
parent fc6e6a55ea
commit 3ffd435526
4 changed files with 1 additions and 16 deletions

View File

@@ -19,7 +19,7 @@ if(COMMAND cmake_policy)
endif(POLICY CMP0020)
# added in cmake 3.0
if(POLICY CMP0050)
cmake_policy(SET CMP0050 OLD)
cmake_policy(SET CMP0050 NEW)
endif(POLICY CMP0050)
if (POLICY CMP0045)
cmake_policy(SET CMP0045 NEW)