Skip to content

Commit

Permalink
Fixed default OSX platform
Browse files Browse the repository at this point in the history
  • Loading branch information
EduMenges committed Jul 2, 2024
1 parent acc911e commit 10e1dcf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/OSX/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ endif()
if(NOT DEFINED CMAKE_TOOLCHAIN_FILE)
cmake_host_system_information(RESULT HOST_SYSTEM_PROCESSOR QUERY OS_PLATFORM)

if(HOST_SYSTEM_PROCESSOR STREQUAL "x86_64")
set(_PLATFORM "MAC")
elseif(HOST_SYSTEM_PROCESSOR STREQUAL "arm")
if(HOST_SYSTEM_PROCESSOR STREQUAL "arm")
set(_PLATFORM "MAC_ARM64")
else()
set(_PLATFORM "MAC")
endif()

set(PLATFORM ${_PLATFORM} CACHE STRING "Toolchain platform parameter")
Expand Down

0 comments on commit 10e1dcf

Please sign in to comment.