Skip to content

Commit

Permalink
update macros.cmake to return x86_64 platform name for x64
Browse files Browse the repository at this point in the history
  • Loading branch information
syrel committed Jun 19, 2021
1 parent bd08b32 commit 4626b9c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions macros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@ macro(addIndependentLibraryWithRPATH NAME)
endmacro()

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

macro(get_full_platform_name_with_osx VARNAME)
Expand Down

0 comments on commit 4626b9c

Please sign in to comment.