Fix T97666: Blender not starting on macOS 10.14 after library upgrade
This commit is contained in:
parent
e2cd5c6748
commit
0539208f97
Notes:
blender-bot
2023-02-14 11:08:33 +01:00
Referenced by issue #97681, Last version of Blender 3.2.0 Alpha Intel doesn't open on macos 10.13.6 Referenced by issue #97666, 3.2.0 alpha won't start on macOS Mojave since 2022-04-19 build
|
@ -215,7 +215,12 @@ if(WITH_SDL)
|
|||
find_package(SDL2)
|
||||
set(SDL_INCLUDE_DIR ${SDL2_INCLUDE_DIRS})
|
||||
set(SDL_LIBRARY ${SDL2_LIBRARIES})
|
||||
string(APPEND PLATFORM_LINKFLAGS " -framework ForceFeedback -framework GameController -framework CoreHaptics")
|
||||
string(APPEND PLATFORM_LINKFLAGS " -framework ForceFeedback -framework GameController")
|
||||
if("${CMAKE_OSX_ARCHITECTURES}" STREQUAL "arm64")
|
||||
# The minimum macOS version of the libraries makes it so this is included in SDL on arm64
|
||||
# but not x86_64.
|
||||
string(APPEND PLATFORM_LINKFLAGS " -framework CoreHaptics")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
set(PNG_ROOT ${LIBDIR}/png)
|
||||
|
|
Loading…
Reference in New Issue