mirror of
https://github.com/LizardByte/Sunshine.git
synced 2024-11-16 23:10:13 +00:00
removed redundent build dependency on Windows
This commit is contained in:
parent
fa0ff91d23
commit
56bb4ca865
@ -14,7 +14,6 @@ if(WIN32)
|
||||
QOS_NON_ADAPTIVE_FLOW=2)
|
||||
endif()
|
||||
add_subdirectory(third-party/moonlight-common-c/enet)
|
||||
add_subdirectory(third-party/cbs)
|
||||
|
||||
find_package(Threads REQUIRED)
|
||||
find_package(OpenSSL REQUIRED)
|
||||
@ -137,6 +136,8 @@ else()
|
||||
configure_file(sunshine.service.in sunshine.service @ONLY)
|
||||
endif()
|
||||
|
||||
add_subdirectory(third-party/cbs)
|
||||
|
||||
set(Boost_USE_STATIC_LIBS ON)
|
||||
find_package(Boost COMPONENTS log filesystem REQUIRED)
|
||||
|
||||
|
@ -10,7 +10,7 @@ environment:
|
||||
install:
|
||||
- sh: sudo apt update --ignore-missing
|
||||
- sh: sudo apt install -y build-essential fakeroot gcc-10 g++-10 cmake libssl-dev libavdevice-dev libboost-thread-dev libboost-filesystem-dev libboost-log-dev libpulse-dev libopus-dev libxtst-dev libx11-dev libxrandr-dev libxfixes-dev libevdev-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev
|
||||
- cmd: C:\msys64\usr\bin\bash -lc "pacman --needed --noconfirm -S mingw-w64-x86_64-ffmpeg mingw-w64-x86_64-openssl mingw-w64-x86_64-cmake mingw-w64-x86_64-toolchain mingw-w64-x86_64-opus mingw-w64-x86_64-x265 mingw-w64-x86_64-boost git yasm nasm diffutils make"
|
||||
- cmd: C:\msys64\usr\bin\bash -lc "pacman --needed --noconfirm -S mingw-w64-x86_64-openssl mingw-w64-x86_64-cmake mingw-w64-x86_64-toolchain mingw-w64-x86_64-opus mingw-w64-x86_64-x265 mingw-w64-x86_64-boost git yasm nasm diffutils make"
|
||||
|
||||
before_build:
|
||||
- git submodule update --init --recursive
|
||||
|
6
third-party/cbs/CMakeLists.txt
vendored
6
third-party/cbs/CMakeLists.txt
vendored
@ -55,6 +55,10 @@ ${ARCH_SOURCE_FILES}
|
||||
|
||||
include_directories(include)
|
||||
|
||||
if(DEFINED SUNSHINE_PREPARED_BINARIES)
|
||||
include_directories(${SUNSHINE_PREPARED_BINARIES}/include)
|
||||
endif()
|
||||
|
||||
add_compile_definitions(
|
||||
ARCH_X86=1
|
||||
ARCH_X86_64=1
|
||||
@ -79,4 +83,4 @@ add_compile_definitions(
|
||||
|
||||
|
||||
add_library(cbs ${CBS_SOURCE_FILES})
|
||||
target_compile_options(cbs PRIVATE -Wall -Wno-incompatible-pointer-types)
|
||||
target_compile_options(cbs PRIVATE -Wall -Wno-incompatible-pointer-types -Wno-maybe-uninitialized -Wno-format -Wno-format-extra-args)
|
Loading…
Reference in New Issue
Block a user