mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Cmake build: Handle deprecated cmake versions
The warning says: CMake Deprecation Warning at .../CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Spotted by Scott Kostyshak
This commit is contained in:
parent
638c04dd6a
commit
8d79860ea7
2
3rdparty/dtl/CMakeLists.txt
vendored
2
3rdparty/dtl/CMakeLists.txt
vendored
@ -1,4 +1,4 @@
|
|||||||
cmake_minimum_required(VERSION 3.1)
|
cmake_minimum_required(VERSION 3.5.0)
|
||||||
|
|
||||||
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.1)
|
cmake_minimum_required(VERSION 3.5.0)
|
||||||
|
|
||||||
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.1)
|
cmake_minimum_required(VERSION 3.5.0)
|
||||||
|
|
||||||
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.1)
|
cmake_minimum_required(VERSION 3.5.0)
|
||||||
|
|
||||||
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.1)
|
cmake_minimum_required(VERSION 3.5.0)
|
||||||
|
|
||||||
set(LYX_IPO_SUPPORTED FALSE)
|
set(LYX_IPO_SUPPORTED FALSE)
|
||||||
if (POLICY CMP0069)
|
if (POLICY CMP0069)
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
# Licence details can be found in the file COPYING.
|
# Licence details can be found in the file COPYING.
|
||||||
#
|
#
|
||||||
# Copyright (c) 2006-2011 Peter Kümmel, <syntheticpp@gmx.net>
|
# Copyright (c) 2006-2011 Peter Kümmel, <syntheticpp@gmx.net>
|
||||||
# Copyright (c) 2008-2020 Kornel Benko, <Kornel.Benko@berlin.de>
|
# Copyright (c) 2008-2024 Kornel Benko, <Kornel.Benko@berlin.de>
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 3.1.0)
|
cmake_minimum_required(VERSION 3.5.0)
|
||||||
|
|
||||||
set(LYX_PROJECT LyX)
|
set(LYX_PROJECT LyX)
|
||||||
# Instruct cmake to not use gnu extensions,
|
# Instruct cmake to not use gnu extensions,
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#//
|
#//
|
||||||
#////////////////////////////////////////////////////////////////////////////////
|
#////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 2.6.4)
|
cmake_minimum_required(VERSION 3.5.0)
|
||||||
|
|
||||||
project(vld)
|
project(vld)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user