aboutsummaryrefslogtreecommitdiff
path: root/project/cmake/scripts/linux/ExtraTargets.cmake
blob: 0b350b3f65adedacde320fa7251d30845d0a5e62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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 AND BLUETOOTH_FOUND)
  find_package(CWiid QUIET)
  if(CWIID_FOUND)
    add_subdirectory(${CORE_SOURCE_DIR}/tools/EventClients/Clients/WiiRemote build/WiiRemote)
  endif()
endif()