summaryrefslogtreecommitdiff
path: root/src/input_common/CMakeLists.txt
diff options
context:
space:
mode:
authorGravatar german772021-09-20 17:36:23 -0500
committerGravatar Narr the Reg2021-11-24 20:30:23 -0600
commit59b995a9e53f09b9831b03608cfe5ce27c3e3485 (patch)
tree54cf3df8ed6ef572d754267be8339c9a8f25b203 /src/input_common/CMakeLists.txt
parentinput_common: Rewrite udp client (diff)
downloadyuzu-59b995a9e53f09b9831b03608cfe5ce27c3e3485.tar.gz
yuzu-59b995a9e53f09b9831b03608cfe5ce27c3e3485.tar.xz
yuzu-59b995a9e53f09b9831b03608cfe5ce27c3e3485.zip
input_common: Rewrite SDL
Diffstat (limited to 'src/input_common/CMakeLists.txt')
-rw-r--r--src/input_common/CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/input_common/CMakeLists.txt b/src/input_common/CMakeLists.txt
index 9c0c82138..8cdcd315b 100644
--- a/src/input_common/CMakeLists.txt
+++ b/src/input_common/CMakeLists.txt
@@ -5,6 +5,8 @@ add_library(input_common STATIC
5 drivers/keyboard.h 5 drivers/keyboard.h
6 drivers/mouse.cpp 6 drivers/mouse.cpp
7 drivers/mouse.h 7 drivers/mouse.h
8 drivers/sdl_driver.cpp
9 drivers/sdl_driver.h
8 drivers/tas_input.cpp 10 drivers/tas_input.cpp
9 drivers/tas_input.h 11 drivers/tas_input.h
10 drivers/touch_screen.cpp 12 drivers/touch_screen.cpp
@@ -29,8 +31,6 @@ add_library(input_common STATIC
29 motion_from_button.h 31 motion_from_button.h
30 motion_input.cpp 32 motion_input.cpp
31 motion_input.h 33 motion_input.h
32 sdl/sdl.cpp
33 sdl/sdl.h
34) 34)
35 35
36if (MSVC) 36if (MSVC)
@@ -57,8 +57,8 @@ endif()
57 57
58if (ENABLE_SDL2) 58if (ENABLE_SDL2)
59 target_sources(input_common PRIVATE 59 target_sources(input_common PRIVATE
60 sdl/sdl_impl.cpp 60 drivers/sdl_driver.cpp
61 sdl/sdl_impl.h 61 drivers/sdl_driver.h
62 ) 62 )
63 target_link_libraries(input_common PRIVATE SDL2) 63 target_link_libraries(input_common PRIVATE SDL2)
64 target_compile_definitions(input_common PRIVATE HAVE_SDL2) 64 target_compile_definitions(input_common PRIVATE HAVE_SDL2)