aboutsummaryrefslogtreecommitdiff
path: root/cmake/scripts/linux/ExtraTargets.cmake
blob: 2bb5f6fa012c10c7f8d0bcda679c96381b4a8b54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# xrandr
if(ENABLE_X11 AND X_FOUND AND XRANDR_FOUND)
  find_package(X QUIET)
  find_package(XRandR QUIET)
  add_executable(${APP_NAME_LC}-xrandr ${CORE_SOURCE_DIR}/xbmc-xrandr.c)
  target_link_libraries(${APP_NAME_LC}-xrandr ${SYSTEM_LDFLAGS} ${X_LIBRARIES} m ${XRANDR_LIBRARIES})
endif()

# WiiRemote
if(ENABLE_EVENTCLIENTS)
  add_subdirectory(${CORE_SOURCE_DIR}/tools/EventClients/Clients/WiiRemote build/WiiRemote)
endif()