Commit Graph

15 Commits

Author SHA1 Message Date
Kornel Benko
0485574f76 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)
2024-04-02 11:53:17 +02:00
Yuriy Skalko
e3bf51a4c3 Revert "Enable to build with MinGW-W64"
This reverts commit ae5a8de6ea.
2020-10-16 08:17:12 +03:00
Yuriy Skalko
ae5a8de6ea Enable to build with MinGW-W64 2020-10-16 08:04:05 +03:00
Kornel Benko
348a3be540 Cmake build: Remove warnings about deprecated policy CMP0075 2020-03-07 13:49:35 +01:00
Kornel Benko
3a29ba795d Cmake build: Select use of interprocedural optimization
New cmake-option to explicit select/deselect the IPO
2019-12-17 13:59:52 +01:00
Kornel Benko
c9c86b4966 Cmake build: Remove warnings about deprecated policy CMP0069
Deprecated since cmake version 3.16
(Now explicitly enable/disable interprocedural optimization
if supported and not debugging)
2019-11-09 16:56:16 +01:00
Kornel Benko
7d021a938c Cmake build: Use interprocedural optimization if possible
With gnu compilers this adds -flto and -fno-fat-lto-objects
to compiler and linker flags.
2019-04-22 18:53:49 +02:00
Uwe Stöhr
873bd99008 zlib: update to zlib 1.2.11
This should also be done in LyX 2.3.x now or for LyX 2.3.1.
2017-12-06 02:45:49 +01:00
Georg Baum
127e5b1955 Add forgotten zlib includes
I forgot this in 9b822b25ae5. Also remove a comment that is no longer true.
2016-05-29 17:55:43 -04:00
Georg Baum
78e17b1579 Configure included zlib with autotools
The included zlib should not be used on Linux or OS X, but (depending on
local configuration) it might be needed for crosscompiling a mingw target
from Linux. Now the user can choose whether to use the included zlib or not.
cmake does already support that.

zconf.h.in was taken from the original zlib 1.2.8 package. The generation of
zconf.h was made equivalent to the one generated by cmake.
2016-05-29 17:55:43 -04:00
Georg Baum
ff9ba203ff Add missing files to source package
The windows build for beta1 showed that some files were missing by accident.
2016-02-11 21:04:58 +01:00
Peter Kümmel
132cc83871 remove warning about alreday defined Z_PREFIX 2016-01-19 17:54:43 +01:00
Peter Kümmel
dde4f93894 zlib: enable prefix, fix mingw build 2016-01-12 20:11:31 +01:00
Georg Baum
c829eeebb7 Add 3rdparty to source package
The new 3rdparty libraries are not added to the autotools build system, so
that they appear in the source package. They cannot be compiled yet with
autotools (although this would make sense for cross compilation with mingw),
but adding configure support for enabling/disabling these like we do for
boost is a bit more work, so I did not do it for now. Nevertheless, the
three new Makefile.am are already prepared for compilation.
2015-12-19 16:49:52 +01:00
Peter Kümmel
3bd2cfecf0 move 3rdparty dir out of src/ 2015-12-15 13:20:13 +01:00