mirror of
https://github.com/luau-lang/luau.git
synced 2024-12-13 13:30:40 +00:00
Check for APPLE before doing OSX-related arch checks
This commit is contained in:
parent
ce1800746b
commit
7482861d27
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ if(NOT CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
|||
return()
|
||||
endif()
|
||||
|
||||
if(NOT CMAKE_OSX_ARCHITECTURES STREQUAL "x86_64")
|
||||
if(APPLE AND NOT CMAKE_OSX_ARCHITECTURES STREQUAL "x86_64")
|
||||
message(WARNING "Building the Luau fuzzer for ARM64 is currently unsupported.")
|
||||
return()
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue