mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-24 13:39:11 +00:00
cmake: cocoa video backend needs IOKit framework
Fixes libsdl-org/SDL#11628
This commit is contained in:
parent
38dd6bcd32
commit
e25cc7a88f
1 changed files with 1 additions and 0 deletions
|
@ -629,6 +629,7 @@ macro(CheckCOCOA)
|
|||
endif()
|
||||
if(HAVE_COCOA)
|
||||
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/video/cocoa/*.m")
|
||||
set(SDL_FRAMEWORK_IOKIT 1)
|
||||
set(SDL_VIDEO_DRIVER_COCOA 1)
|
||||
set(HAVE_SDL_VIDEO TRUE)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue