Add server source, originally in monado

This commit is contained in:
Guillaume Meunier
2022-11-12 23:59:28 +01:00
parent 07c0c09c80
commit 294c4f81ba
53 changed files with 10808 additions and 12 deletions
+1 -4
View File
@@ -7,11 +7,10 @@ set(TINYGLTF_HEADER_ONLY OFF)
set(TINYGLTF_INSTALL OFF)
FetchContent_Declare(spdlog URL https://github.com/gabime/spdlog/archive/refs/tags/v1.11.0.tar.gz)
FetchContent_Declare(boostpfr URL https://github.com/boostorg/pfr/archive/refs/tags/2.0.3.tar.gz)
FetchContent_Declare(glm URL https://github.com/g-truc/glm/archive/refs/tags/0.9.9.8.tar.gz)
FetchContent_Declare(tinygltf URL https://github.com/syoyo/tinygltf/archive/refs/tags/v2.6.3.tar.gz)
FetchContent_MakeAvailable(spdlog boostpfr glm tinygltf)
FetchContent_MakeAvailable(spdlog glm tinygltf)
include(FreetypeHarfbuzz)
include(CompileGLSL)
@@ -65,8 +64,6 @@ else()
target_compile_definitions(wivrn PRIVATE -DXR_USE_PLATFORM_XLIB)
find_package(OpenXR REQUIRED)
find_package(PkgConfig REQUIRED)
pkg_check_modules(LIBAV REQUIRED IMPORTED_TARGET libavcodec libavutil libswscale)
target_link_libraries(wivrn OpenXR::openxr_loader OpenXR::headers PkgConfig::LIBAV)