CMake: Make evdev optional
This commit is contained in:
@ -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