mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Cmake mingw build: Get rid of a cmake warning regarding policy CMP0020
For explanation see the output of 'cmake --help-policy CMP0020'
This commit is contained in:
parent
255a5cf401
commit
933502f991
@ -47,6 +47,7 @@ if(COMMAND cmake_policy)
|
||||
# COMPILE_DEFINITIONS are not used yet. Enable new behavior.
|
||||
cmake_policy(SET CMP0043 NEW)
|
||||
endif()
|
||||
cmake_policy(SET CMP0020 NEW)
|
||||
endif()
|
||||
|
||||
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)
|
||||
|
Loading…
Reference in New Issue
Block a user