summaryrefslogtreecommitdiff
path: root/src/input_common/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to '')
-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)