Revert "Windows installer: Downgrade texinfo to 6.8."
[maxima/cygwin.git] / crosscompile-windows / texinfo / CMakeLists.txt
blob2cd4e65feebbde70f6354027da5e3de88aecd179
1 # CMake file for crosscompiling Maxima/wxMaxima for Windows
2 # SPDX-License-Identifier: GPL-2.0-or-later
3 # Copyright (C) by Wolfgang Dautermann
4 # License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
5 # This is free software: you are free to change and redistribute it.
6 # There is NO WARRANTY, to the extent permitted by law.
8 # If you want to use a updated version of a program,
9 # update the version number and the checksum.
10 # If no further patches are needed, you should get a
11 # updated setup-file automatically.
13 set(TEXINFOVERSION "7.0.1")
14 set(TEXINFO_MD5 "545e6fdb23f5c7923c057187aa19f9f4")
15 set(TEXINFO_URL "https://ftp.gnu.org/gnu/texinfo/texinfo-${TEXINFOVERSION}.tar.xz")
17 # Build texinfo
18 # Maxima requires a recent version (at least 6.8), on the usual build machines
19 # (Ubuntu 20.04 now) the version is too old.
20 externalproject_add(texinfo
21   URL "${TEXINFO_URL}"
22   DOWNLOAD_DIR ${CMAKE_SOURCE_DIR}/downloads
23   URL_MD5 ${TEXINFO_MD5}
24   CONFIGURE_COMMAND ${CMAKE_BINARY_DIR}/texinfo/texinfo-prefix/src/texinfo/configure --prefix=${CMAKE_BINARY_DIR}/texinfo-installroot
25   BUILD_COMMAND $(MAKE)
26   INSTALL_COMMAND $(MAKE) install