mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Cmake build: Remove warnings about deprecated policy CMP0075
This commit is contained in:
parent
3bd03709fd
commit
348a3be540
3
3rdparty/zlib/CMakeLists.txt
vendored
3
3rdparty/zlib/CMakeLists.txt
vendored
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user