mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-21 17:51:03 +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
(cherry picked from commit 8d79860ea7
)
This commit is contained in:
parent
f957964e9b
commit
0485574f76
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)
|
||||
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)
|
||||
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.
|
||||
|
||||
project ( libiconv C )
|
||||
cmake_minimum_required(VERSION 3.1)
|
||||
cmake_minimum_required(VERSION 3.5.0)
|
||||
|
||||
set(LYX_IPO_SUPPORTED FALSE)
|
||||
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)
|
||||
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)
|
||||
if (POLICY CMP0069)
|
||||
|
@ -2,9 +2,9 @@
|
||||
# Licence details can be found in the file COPYING.
|
||||
#
|
||||
# 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)
|
||||
# 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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user