1 # CMake file for crosscompiling Maxima/wxMaxima for Windows
2 # Copyright (C) by Wolfgang Dautermann
3 # License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
4 # This is free software: you are free to change and redistribute it.
5 # There is NO WARRANTY, to the extent permitted by law.
7 # If you want to use a updated version of a program,
8 # update the version number and the checksum.
9 # If no further patches are needed, you should get a
10 # updated setup-file automatically.
12 set(GNUPLOTVERSION 5.2.7)
14 string(REPLACE "." "" GNUPLOTVERSIONWITHOUTDOTS "${GNUPLOTVERSION}")
17 set(GNUPLOT_MD5 "c1565db5fc5f857b7a06bb14926c3145")
18 set(GNUPLOT_URL "http://sourceforge.net/projects/gnuplot/files/gnuplot/${GNUPLOTVERSION}/gp${GNUPLOTVERSIONWITHOUTDOTS}-win64-mingw.7z")
20 set(GNUPLOT_MD5 "228d25b13e4ce7358a99edc7efa574be")
21 set(GNUPLOT_URL "http://sourceforge.net/projects/gnuplot/files/gnuplot/${GNUPLOTVERSION}/gp${GNUPLOTVERSIONWITHOUTDOTS}-win32-mingw.7z")
24 # Gnuplot (already a binary package just extract it...)
25 externalproject_add(gnuplot
27 DOWNLOAD_DIR ${CMAKE_SOURCE_DIR}/downloads
28 URL_MD5 ${GNUPLOT_MD5}
33 install(DIRECTORY ${CMAKE_BINARY_DIR}/gnuplot/gnuplot-prefix/src/gnuplot/ DESTINATION gnuplot COMPONENT Gnuplot)