Skip to content

Commit

Permalink
Fix #1768
Browse files Browse the repository at this point in the history
  • Loading branch information
halx99 committed Mar 29, 2024
1 parent 9a10407 commit f7c19cd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions 1k/platforms.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@

if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
set(WINDOWS TRUE)
if("${CMAKE_GENERATOR_PLATFORM}" STREQUAL "Win32")
string(TOLOWER "${CMAKE_GENERATOR_PLATFORM}" _gp_lcase)
if("${_gp_lcase}" MATCHES "win32")
set(WIN32 TRUE)
set(ARCH_ALIAS "x86")
elseif("${CMAKE_GENERATOR_PLATFORM}" STREQUAL "arm64")
elseif("${_gp_lcase}" STREQUAL "arm64")
set(WIN64 TRUE)
set(ARCH_ALIAS "arm64")
else()
Expand Down

0 comments on commit f7c19cd

Please sign in to comment.