mirror of
https://github.com/encounter/SDL.git
synced 2025-05-18 21:31:35 +00:00
bugfix for "add 'Misc' subsystem"
This commit is contained in:
parent
998117b3ff
commit
606d2ea87f
@ -1830,10 +1830,13 @@ elseif(APPLE)
|
||||
message_error("SDL_FILE must be enabled to build on MacOS X")
|
||||
endif()
|
||||
|
||||
if(IOS OR TVOS)
|
||||
file(GLOB SDLMAIN_SOURCES ${SDL2_SOURCE_DIR}/src/main/uikit/*.c)
|
||||
endif()
|
||||
|
||||
if(SDL_MISC)
|
||||
if(IOS OR TVOS)
|
||||
file(GLOB MISC_SOURCES ${SDL2_SOURCE_DIR}/src/misc/ios/*.m)
|
||||
file(GLOB SDLMAIN_SOURCES ${SDL2_SOURCE_DIR}/src/main/uikit/*.c)
|
||||
else()
|
||||
file(GLOB MISC_SOURCES ${SDL2_SOURCE_DIR}/src/misc/macosx/*.m)
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user