Fix build

This commit is contained in:
Yukino Song
2024-12-02 02:32:21 +08:00
parent 021f6a635b
commit 9ac9c184a0
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ if(NOT DEFINED FFMPEG_PREPARED_BINARIES)
set(FFMPEG_PLATFORM_LIBRARIES numa va va-drm va-x11 X11) set(FFMPEG_PLATFORM_LIBRARIES numa va va-drm va-x11 X11)
endif() endif()
set(FFMPEG_PREPARED_BINARIES set(FFMPEG_PREPARED_BINARIES
"${CMAKE_SOURCE_DIR}/third-party/build-deps/dist/${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_PROCESSOR}") "${CMAKE_SOURCE_DIR}/third-party/build-deps/ffmpeg/${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_PROCESSOR}")
# check if the directory exists # check if the directory exists
if(NOT EXISTS "${FFMPEG_PREPARED_BINARIES}") if(NOT EXISTS "${FFMPEG_PREPARED_BINARIES}")
+1 -1
View File
@@ -32,7 +32,7 @@ PROJECT_NAME = Sunshine
# project specific settings # project specific settings
DOT_GRAPH_MAX_NODES = 60 DOT_GRAPH_MAX_NODES = 60
IMAGE_PATH = ../docs/images IMAGE_PATH = ../docs/images
INCLUDE_PATH = ../third-party/build-deps/dist/Linux-x86_64/include/ INCLUDE_PATH = ../third-party/build-deps/ffmpeg/Linux-x86_64/include/
PREDEFINED += SUNSHINE_BUILD_WAYLAND PREDEFINED += SUNSHINE_BUILD_WAYLAND
PREDEFINED += SUNSHINE_TRAY=1 PREDEFINED += SUNSHINE_TRAY=1
+3 -3
View File
@@ -4,9 +4,9 @@
*/ */
extern "C" { extern "C" {
#include <libavcodec/avcodec.h> #include <libavcodec/avcodec.h>
#include <libavcodec/cbs_h264.h> #include <cbs/cbs_h264.h>
#include <libavcodec/cbs_h265.h> #include <cbs/cbs_h265.h>
#include <libavcodec/h264_levels.h> #include <cbs/h264_levels.h>
#include <libavutil/pixdesc.h> #include <libavutil/pixdesc.h>
} }