Skip to content

Commit

Permalink
add arm64 packages for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-w committed Oct 9, 2023
1 parent 4b9e973 commit afe6ae1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,10 @@ IF(WIN32)
### Generate an Inno Setup project file
#######################################################

IF("${CMAKE_SIZEOF_VOID_P}" EQUAL "4")
IF(STELLARIUM_BUILD_ARM64) # 64bit ARM build?
SET(ISS_ARCHITECTURE_SPECIFIC ";Switch to 64-bit install mode:\nArchitecturesInstallIn64BitMode=arm64")
SET(ISS_PACKAGE_PLATFORM "qt${QT_VERSION_MAJOR}-arm64")
ELSEIF("${CMAKE_SIZEOF_VOID_P}" EQUAL "4")
SET(ISS_ARCHITECTURE_SPECIFIC "")
SET(ISS_PACKAGE_PLATFORM "qt${QT_VERSION_MAJOR}-win32")
ELSEIF("${CMAKE_SIZEOF_VOID_P}" EQUAL "8")
Expand Down

0 comments on commit afe6ae1

Please sign in to comment.