From 1539b090c75ce637c7db61b8f599adc156706b8a Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Thu, 26 Oct 2023 00:48:48 -0700 Subject: [PATCH] bootcommander cmakelists --- Host/Source/BootCommander/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Host/Source/BootCommander/CMakeLists.txt b/Host/Source/BootCommander/CMakeLists.txt index 1517b0f4..29e945aa 100644 --- a/Host/Source/BootCommander/CMakeLists.txt +++ b/Host/Source/BootCommander/CMakeLists.txt @@ -88,6 +88,8 @@ if(WIN32) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DPLATFORM_WINDOWS -DPLATFORM_64BIT -D_CRT_SECURE_NO_WARNINGS") endif() endif() +elseif(APPLE) + set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64") elseif(UNIX) if(CMAKE_SIZEOF_VOID_P EQUAL 4) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DPLATFORM_LINUX -DPLATFORM_32BIT -pthread -std=gnu99")