diff options
author | Liam <byteslice@airmail.cc> | 2022-11-21 11:31:18 -0500 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2022-11-22 22:22:28 -0500 |
commit | 9737615948d431cf56826f3c109bbc0fef7b4d10 (patch) | |
tree | 9d4742bf8f2b64b9a5b30ae33b105a5e9344ab3b /externals | |
parent | aab68674c0c0174c9f23c9eb8ff350104aee530b (diff) |
general: fix compile for Apple Clang
Diffstat (limited to 'externals')
-rw-r--r-- | externals/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index 7f0a6d069..dcd7df764 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt @@ -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) |