mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
CMake: Fixed build on Mac OS X.
This commit is contained in:
parent
1084421cca
commit
b814f23a21
@ -991,6 +991,7 @@ elseif(APPLE)
|
|||||||
if(SDL_FILESYSTEM)
|
if(SDL_FILESYSTEM)
|
||||||
set(SDL_FILESYSTEM_COCOA 1)
|
set(SDL_FILESYSTEM_COCOA 1)
|
||||||
file(GLOB FILESYSTEM_SOURCES ${SDL2_SOURCE_DIR}/src/filesystem/cocoa/*.m)
|
file(GLOB FILESYSTEM_SOURCES ${SDL2_SOURCE_DIR}/src/filesystem/cocoa/*.m)
|
||||||
|
set_source_files_properties(${FILESYSTEM_SOURCES} PROPERTIES LANGUAGE C)
|
||||||
set(SOURCE_FILES ${SOURCE_FILES} ${FILESYSTEM_SOURCES})
|
set(SOURCE_FILES ${SOURCE_FILES} ${FILESYSTEM_SOURCES})
|
||||||
set(HAVE_SDL_FILESYSTEM TRUE)
|
set(HAVE_SDL_FILESYSTEM TRUE)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user