Cmake build: Remove deprecated policy warning

This commit is contained in:
Kornel Benko 2020-03-01 15:36:41 +01:00
parent 9c4642fbcc
commit 4320e505a7

View File

@ -49,7 +49,7 @@ if(COMMAND cmake_policy)
endif()
cmake_policy(SET CMP0020 NEW)
if(POLICY CMP0075)
cmake_policy(SET CMP0075 OLD)
cmake_policy(SET CMP0075 NEW)
endif()
endif()