bootcommander cmakelists

This commit is contained in:
Matthew Kennedy 2023-10-26 00:48:48 -07:00
parent 0389a7c9ec
commit 1539b090c7
1 changed files with 2 additions and 0 deletions

View File

@ -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")