mirror of
https://github.com/morgan9e/UxPlay
synced 2026-04-14 00:04:13 +09:00
and added option to set these in the API through raop_set_display (renamed from raop_set_display_size).. Updated uxplay.cpp to include these new options. Moved version slightly to UxPlay-1.31 tested: confirmed to work using gstreamer videosink "fpsdisplaysink" to explicitly show reduction of streaming fps when set below 30 fps.
29 lines
601 B
CMake
Executable File
29 lines
601 B
CMake
Executable File
cmake_minimum_required(VERSION 3.4.1)
|
|
|
|
project(uxplay)
|
|
|
|
set (CMAKE_CXX_STANDARD 11)
|
|
|
|
|
|
if (ZOOMFIX)
|
|
add_definitions(-DX_DISPLAY_FIX)
|
|
find_package(X11 REQUIRED)
|
|
link_libraries(${X11_LIBRARIES})
|
|
include_directories(${X11_INCLUDE_DIR})
|
|
# link_directories(${X11_LIBRARIES})
|
|
endif (ZOOMFIX)
|
|
|
|
|
|
add_definitions(-DSUPPRESS_AVAHI_COMPAT_WARNING)
|
|
|
|
add_subdirectory(lib/llhttp)
|
|
add_subdirectory(lib/playfair)
|
|
add_subdirectory(lib)
|
|
add_subdirectory(renderers)
|
|
|
|
add_executable( uxplay uxplay.cpp)
|
|
target_link_libraries ( uxplay renderers airplay ${X11_LIBRARIES})
|
|
|
|
install(TARGETS uxplay RUNTIME DESTINATION bin)
|
|
|