mirror of https://github.com/FOME-Tech/openblt.git
bootcommander cmakelists
This commit is contained in:
parent
0389a7c9ec
commit
1539b090c7
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue