Skip to content

Commit

Permalink
updating cmake for windows-arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
NoelFB committed Jul 3, 2024
1 parent c9614d5 commit 0cb8d9a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Platform/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ target_include_directories(${TARGET_NAME}
if (APPLE)
set(FosterTarget osx)
elseif (WIN32)
set(FosterTarget x64)
if(CMAKE_SYSTEM_PROCESSOR STREQUAL "ARM64")
set(FosterTarget arm64)
else()
set(FosterTarget x64)
endif()
elseif (UNIX)
if(CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
set(FosterTarget libarm64)
Expand Down

0 comments on commit 0cb8d9a

Please sign in to comment.