summaryrefslogtreecommitdiffstats
path: root/externals
diff options
context:
space:
mode:
authorv1993 <v19930312@gmail.com>2021-05-09 17:12:58 +0200
committerv1993 <v19930312@gmail.com>2021-05-09 17:12:58 +0200
commit648bef235ea7a7eb183c6aac52bdd63f921b7b22 (patch)
tree6c81b2d40bce0bf4c425e7ec439e6e41d729c5a9 /externals
parentMerge pull request #6292 from lat9nq/sdl-trunk (diff)
downloadyuzu-648bef235ea7a7eb183c6aac52bdd63f921b7b22.tar
yuzu-648bef235ea7a7eb183c6aac52bdd63f921b7b22.tar.gz
yuzu-648bef235ea7a7eb183c6aac52bdd63f921b7b22.tar.bz2
yuzu-648bef235ea7a7eb183c6aac52bdd63f921b7b22.tar.lz
yuzu-648bef235ea7a7eb183c6aac52bdd63f921b7b22.tar.xz
yuzu-648bef235ea7a7eb183c6aac52bdd63f921b7b22.tar.zst
yuzu-648bef235ea7a7eb183c6aac52bdd63f921b7b22.zip
Diffstat (limited to '')
-rw-r--r--externals/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt
index e280e53d7..5a54d8de1 100644
--- a/externals/CMakeLists.txt
+++ b/externals/CMakeLists.txt
@@ -49,6 +49,7 @@ target_include_directories(unicorn-headers INTERFACE ./unicorn/include)
if (NOT SDL2_FOUND AND ENABLE_SDL2)
set(SDL_STATIC ON)
set(SDL_SHARED OFF)
+ set(OPT_DEF_HIDAPI ON)
add_subdirectory(SDL EXCLUDE_FROM_ALL)
add_library(SDL2 ALIAS SDL2-static)
endif()