mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Cmake build: Disable possible warn about not known policy
This commit is contained in:
parent
72a2f92239
commit
6343452a73
@ -48,7 +48,9 @@ if(COMMAND cmake_policy)
|
|||||||
cmake_policy(SET CMP0043 NEW)
|
cmake_policy(SET CMP0043 NEW)
|
||||||
endif()
|
endif()
|
||||||
cmake_policy(SET CMP0020 NEW)
|
cmake_policy(SET CMP0020 NEW)
|
||||||
cmake_policy(SET CMP0075 OLD)
|
if(POLICY CMP0075)
|
||||||
|
cmake_policy(SET CMP0075 OLD)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)
|
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)
|
||||||
|
Loading…
Reference in New Issue
Block a user