mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-12 00:39:18 +00:00
Cmake build: Remove warning about deprecated Compatibility with cmake <
3.10 Also use NEW policy CMP0177, since we already should not use '..' or '.' in destination paths.
This commit is contained in:
parent
ac90ebad04
commit
e6c49c127f
2
3rdparty/dtl/CMakeLists.txt
vendored
2
3rdparty/dtl/CMakeLists.txt
vendored
@ -1,4 +1,4 @@
|
|||||||
cmake_minimum_required(VERSION 3.5.0)
|
cmake_minimum_required(VERSION 3.10)
|
||||||
|
|
||||||
set(LYX_IPO_SUPPORTED FALSE)
|
set(LYX_IPO_SUPPORTED FALSE)
|
||||||
if (POLICY CMP0069)
|
if (POLICY CMP0069)
|
||||||
|
2
3rdparty/hunspell/CMakeLists.txt
vendored
2
3rdparty/hunspell/CMakeLists.txt
vendored
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
cmake_minimum_required(VERSION 3.5.0)
|
cmake_minimum_required(VERSION 3.10)
|
||||||
|
|
||||||
set(LYX_IPO_SUPPORTED FALSE)
|
set(LYX_IPO_SUPPORTED FALSE)
|
||||||
if (POLICY CMP0069)
|
if (POLICY CMP0069)
|
||||||
|
2
3rdparty/libiconv/CMakeLists.txt
vendored
2
3rdparty/libiconv/CMakeLists.txt
vendored
@ -5,7 +5,7 @@
|
|||||||
# Please note that the package source code is licensed under its own license.
|
# Please note that the package source code is licensed under its own license.
|
||||||
|
|
||||||
project ( libiconv C )
|
project ( libiconv C )
|
||||||
cmake_minimum_required(VERSION 3.5.0)
|
cmake_minimum_required(VERSION 3.10)
|
||||||
|
|
||||||
set(LYX_IPO_SUPPORTED FALSE)
|
set(LYX_IPO_SUPPORTED FALSE)
|
||||||
if (POLICY CMP0069)
|
if (POLICY CMP0069)
|
||||||
|
2
3rdparty/mythes/CMakeLists.txt
vendored
2
3rdparty/mythes/CMakeLists.txt
vendored
@ -1,4 +1,4 @@
|
|||||||
cmake_minimum_required(VERSION 3.5.0)
|
cmake_minimum_required(VERSION 3.10)
|
||||||
|
|
||||||
set(LYX_IPO_SUPPORTED FALSE)
|
set(LYX_IPO_SUPPORTED FALSE)
|
||||||
if (POLICY CMP0069)
|
if (POLICY CMP0069)
|
||||||
|
2
3rdparty/zlib/CMakeLists.txt
vendored
2
3rdparty/zlib/CMakeLists.txt
vendored
@ -1,4 +1,4 @@
|
|||||||
cmake_minimum_required(VERSION 3.5.0)
|
cmake_minimum_required(VERSION 3.10)
|
||||||
|
|
||||||
set(LYX_IPO_SUPPORTED FALSE)
|
set(LYX_IPO_SUPPORTED FALSE)
|
||||||
if (POLICY CMP0069)
|
if (POLICY CMP0069)
|
||||||
|
@ -4,8 +4,11 @@
|
|||||||
# Copyright (c) 2006-2011 Peter Kümmel, <syntheticpp@gmx.net>
|
# Copyright (c) 2006-2011 Peter Kümmel, <syntheticpp@gmx.net>
|
||||||
# Copyright (c) 2008-2024 Kornel Benko, <Kornel.Benko@berlin.de>
|
# Copyright (c) 2008-2024 Kornel Benko, <Kornel.Benko@berlin.de>
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 3.5.0)
|
cmake_minimum_required(VERSION 3.10)
|
||||||
|
|
||||||
|
if (POLICY CMP0177)
|
||||||
|
cmake_policy(SET CMP0177 NEW)
|
||||||
|
endif()
|
||||||
set(LYX_PROJECT LyX)
|
set(LYX_PROJECT LyX)
|
||||||
# Instruct cmake to not use gnu extensions,
|
# Instruct cmake to not use gnu extensions,
|
||||||
# this prevents the mix of '-std=c++*' and '-std=gnu++*' flags
|
# this prevents the mix of '-std=c++*' and '-std=gnu++*' flags
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#//
|
#//
|
||||||
#////////////////////////////////////////////////////////////////////////////////
|
#////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 3.5.0)
|
cmake_minimum_required(VERSION 3.10)
|
||||||
|
|
||||||
project(vld)
|
project(vld)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user