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 # Time-stamp: "2022-03-18 20:34:12 villate"
5 # License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
6 # This is free software: you are free to change and redistribute it.
7 # There is NO WARRANTY, to the extent permitted by law.
9 # If you want to use a updated version of a program,
10 # update the version number and the checksum.
11 # If no further patches are needed, you should get a
12 # updated setup-file automatically.
15 string(REPLACE "." "" GNUPLOTVERSIONWITHOUTDOTS "${GNUPLOTVERSION}")
18 set(GNUPLOTVERSION "6.0.1")
19 string(REPLACE "." "" GNUPLOTVERSIONWITHOUTDOTS "${GNUPLOTVERSION}")
20 set(GNUPLOT_MD5 "4dc498ab4afffe0cfd80e23a57324443")
21 set(GNUPLOT_URL "https://sourceforge.net/projects/gnuplot/files/gnuplot/${GNUPLOTVERSION}/gp${GNUPLOTVERSIONWITHOUTDOTS}-win64-mingw.7z")
23 set(GNUPLOTVERSION "5.2.7")
24 string(REPLACE "." "" GNUPLOTVERSIONWITHOUTDOTS "${GNUPLOTVERSION}")
25 set(GNUPLOT_MD5 "228d25b13e4ce7358a99edc7efa574be")
26 set(GNUPLOT_URL "https://sourceforge.net/projects/gnuplot/files/gnuplot/${GNUPLOTVERSION}/gp${GNUPLOTVERSIONWITHOUTDOTS}-win32-mingw.7z")
29 # Gnuplot (already a binary package just extract it...)
30 externalproject_add(gnuplot
32 DOWNLOAD_DIR ${CMAKE_SOURCE_DIR}/downloads
33 URL_MD5 ${GNUPLOT_MD5}
38 install(DIRECTORY ${CMAKE_BINARY_DIR}/gnuplot/gnuplot-prefix/src/gnuplot/ DESTINATION gnuplot COMPONENT Gnuplot)