CMake: Make evdev optional
This commit is contained in:
1 parent
47e26b1ad3
commit
faa8ed0031
4 files changed
+13
-10
No files matched your search
@@ -18,9 +18,7 @@ if(USE_SDL2)
|
||||
target_link_libraries(duckstation-nogui PRIVATE ${SDL2_LIBRARIES})
|
||||
endif()
|
||||
|
||||
if(USE_DRMKMS OR USE_FBDEV)
|
||||
find_package(LIBEVDEV REQUIRED)
|
||||
|
||||
if(USE_EVDEV)
|
||||
target_sources(duckstation-nogui PRIVATE
|
||||
vty_host_interface.cpp
|
||||
vty_host_interface.h
|
||||
|
||||
Reference in new issue
Block a user