Skip to content

Commit

Permalink
Allow compiling an installer with a selected Git hash.
Browse files Browse the repository at this point in the history
  • Loading branch information
daute committed May 3, 2024
1 parent 381e6b5 commit ff424ff
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,14 @@ set(INSTALLER_VERSION "")


option(BUILD_64BIT "Build a 64 bit installer." YES)
option(BUILD_WXMAXIMA_GIT "Build current wxMaxima git version." NO)
option(BUILD_WXMAXIMA_GIT "Build a wxMaxima git version." NO)
if (NOT DEFINED WXMAXIMA_GIT_HASH)
set(WXMAXIMA_GIT_HASH "main")
endif()

if(BUILD_WXMAXIMA_GIT)
set(WXMAXIMAVERSION "current")
set(WXMAXIMA_URL "https://github.com/wxMaxima-developers/wxmaxima/archive/main.zip")
set(WXMAXIMA_URL "https://github.com/wxMaxima-developers/wxmaxima/archive/${WXMAXIMA_GIT_HASH}.zip")
set(WXMAXIMA_MD5 "")
else()
set(WXMAXIMAVERSION "24.02.2")
Expand Down

0 comments on commit ff424ff

Please sign in to comment.