LinuxConfiguration.cmake 350 B

1234567891011121314
  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. endif()
  7. if (NOT BUILD_TARGET STREQUAL "RPI")
  8. set(USE_X11POWER ON)
  9. add_definitions(-DUSE_X11POWER)
  10. endif()
  11. set(INSTALL_BIN_DIR bin)
  12. set(INSTALL_RESOURCE_DIR share)