Skip to content

Commit

Permalink
Attempting to set arm64 target when on Windows-Arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
NoelFB committed Jul 3, 2024
1 parent 155d3b7 commit 3f6c171
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Platform/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,11 @@ target_include_directories(${TARGET_NAME}
)

# Get platform target
message(STATUS "System Processor: ${CMAKE_SYSTEM_PROCESSOR}")
if (APPLE)
set(FosterTarget osx)
elseif (WIN32)
if(CMAKE_SYSTEM_PROCESSOR STREQUAL "ARM64")
if(CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64")
set(FosterTarget arm64)
else()
set(FosterTarget x64)
Expand Down

0 comments on commit 3f6c171

Please sign in to comment.