mirror of
https://git.suyu.dev/suyu/suyu
synced 2025-08-23 04:26:46 -05:00
general: fix compile for Apple Clang
This commit is contained in:
3
externals/CMakeLists.txt
vendored
3
externals/CMakeLists.txt
vendored
@@ -67,6 +67,9 @@ if (YUZU_USE_EXTERNAL_SDL2)
|
||||
endif()
|
||||
set(SDL_STATIC ON)
|
||||
set(SDL_SHARED OFF)
|
||||
if (APPLE)
|
||||
set(SDL_FILE ON)
|
||||
endif()
|
||||
|
||||
add_subdirectory(SDL EXCLUDE_FROM_ALL)
|
||||
add_library(SDL2 ALIAS SDL2-static)
|
||||
|
Reference in New Issue
Block a user