Skip to content

Commit

Permalink
Read cached system processor variable
Browse files Browse the repository at this point in the history
  • Loading branch information
dudoslav committed Oct 4, 2024
1 parent a02e3b6 commit 4859434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/package.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows")
endif()
else()
set(CPACK_SYSTEM_NAME "Linux")
if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
if ($CACHE{CMAKE_SYSTEM_PROCESSOR} STREQUAL "aarch64")
set(CPACK_SYSTEM_PROCESSOR "arm64")
else()
set(CPACK_SYSTEM_PROCESSOR ${CMAKE_SYSTEM_PROCESSOR})
Expand Down

0 comments on commit 4859434

Please sign in to comment.