Cmake build: Remove warnings about deprecated policy CMP0075

This commit is contained in:
Kornel Benko 2020-03-07 13:49:35 +01:00
parent 3bd03709fd
commit 348a3be540

View File

@ -7,6 +7,9 @@ if (POLICY CMP0069)
set(LYX_IPO_SUPPORTED YES) set(LYX_IPO_SUPPORTED YES)
endif() endif()
endif() endif()
if (POLICY CMP0075)
cmake_policy(SET CMP0075 NEW)
endif()
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS ON) set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS ON)