Skip to content

Commit

Permalink
CMAKE_SYSTEM_PROCESSOR match ".*64.*" instead of hardcoding the values
Browse files Browse the repository at this point in the history
  • Loading branch information
syrel committed Jun 20, 2021
1 parent 4626b9c commit 733a13c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ endmacro()

macro(get_platform_name VARNAME)
# See https://github.com/pharo-project/opensmalltalk-vm/issues/270
if(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x64")
if(${CMAKE_SYSTEM_PROCESSOR} MATCHES ".*64.*")
set(${VARNAME} ${CMAKE_SYSTEM_NAME}-x86_64)
else()
set(${VARNAME} ${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_PROCESSOR})
Expand Down

0 comments on commit 733a13c

Please sign in to comment.