LinuxConfiguration.cmake 422 B

1234567891011121314151617
  1. find_package(X11)
  2. if(X11_FOUND AND X11_Xrandr_FOUND)
  3. include_directories(X11_X11_INCLUDE_PATH X11_Xrandr_INCLUDE_PATH)
  4. set(X11XRANDR_FOUND 1)
  5. add_definitions(-DUSE_X11XRANDR)
  6. else()
  7. set(X11_LIBRARIES "")
  8. set(X11_Xrandr_LIB "")
  9. endif()
  10. if (NOT BUILD_TARGET STREQUAL "RPI")
  11. set(USE_X11POWER ON)
  12. add_definitions(-DUSE_X11POWER)
  13. endif()
  14. set(INSTALL_BIN_DIR bin)
  15. set(INSTALL_RESOURCE_DIR share/plexmediaplayer)