mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-22 10:21:57 -05:00
add additional comments on SDL resolution
This commit is contained in:
parent
ab1b044925
commit
793eba68d1
1 changed files with 6 additions and 0 deletions
|
@ -37,6 +37,12 @@ if (APPLE)
|
|||
set_source_files_properties(${OPENRCT2_UI_MM_SOURCES} PROPERTIES COMPILE_FLAGS "-x objective-c++ -fmodules")
|
||||
if ("${CMAKE_OSX_ARCHITECTURES}" MATCHES "arm64")
|
||||
# cross-compilation workaround for SDL2
|
||||
# This has been addressed upstream in https://github.com/libsdl-org/SDL/commit/bf1d7a3a15a6c090188974bec8ca84eb1903d4f7
|
||||
# Remove this workaround after:
|
||||
# 1) a new SDL release is made containing that fix
|
||||
# 2) The vcpkg port is updated to use that release
|
||||
# 3) A new Dependencies release is made with that latest vcpkg version
|
||||
# 4) That new release is used in this build
|
||||
set(SDL_DISABLE_IMMINTRIN_H "-DSDL_DISABLE_IMMINTRIN_H")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${SDL_DISABLE_IMMINTRIN_H}")
|
||||
endif ()
|
||||
|
|
Loading…
Reference in a new issue