aboutsummaryrefslogtreecommitdiff
path: root/xbmc/platform/linux/peripherals/CMakeLists.txt
blob: 554f753e2fb5391dee84b1190845d3ead8013b7f (plain)
1
2
3
4
5
6
7
8
9
10
11
if(TARGET UDEV::UDEV)
  list(APPEND SOURCES PeripheralBusUSBLibUdev.cpp)
  list(APPEND HEADERS PeripheralBusUSBLibUdev.h)
elseif(TARGET ${APP_NAME_LC}::LibUSB)
  list(APPEND SOURCES PeripheralBusUSBLibUSB.cpp)
  list(APPEND HEADERS PeripheralBusUSBLibUSB.h)
endif()

if(SOURCES)
  core_add_library(platform_linux_peripherals)
endif()