Fix linking errors compiling on Ubuntu/Debian
This commit is contained in:
parent
476dc0eae4
commit
aae47d750e
1 changed files with 4 additions and 1 deletions
|
|
@ -11,7 +11,6 @@ add_subdirectory(moonlight-common-c/enet)
|
||||||
find_package(Threads REQUIRED)
|
find_package(Threads REQUIRED)
|
||||||
find_package(OpenSSL REQUIRED)
|
find_package(OpenSSL REQUIRED)
|
||||||
find_package(FFmpeg REQUIRED)
|
find_package(FFmpeg REQUIRED)
|
||||||
find_package(Boost COMPONENTS log filesystem REQUIRED)
|
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
set(PLATFORM_TARGET_FILES
|
set(PLATFORM_TARGET_FILES
|
||||||
|
|
@ -26,6 +25,7 @@ if(WIN32)
|
||||||
windowsapp
|
windowsapp
|
||||||
d3d11 dxgi)
|
d3d11 dxgi)
|
||||||
else()
|
else()
|
||||||
|
set(Boost_USE_STATIC_LIBS ON)
|
||||||
find_package(X11 REQUIRED)
|
find_package(X11 REQUIRED)
|
||||||
set(PLATFORM_TARGET_FILES
|
set(PLATFORM_TARGET_FILES
|
||||||
sunshine/platform/linux.cpp
|
sunshine/platform/linux.cpp
|
||||||
|
|
@ -47,6 +47,9 @@ else()
|
||||||
${X11_INCLUDE_DIR}
|
${X11_INCLUDE_DIR}
|
||||||
/usr/include/libevdev-1.0)
|
/usr/include/libevdev-1.0)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
find_package(Boost COMPONENTS log filesystem REQUIRED)
|
||||||
|
|
||||||
set(SUNSHINE_TARGET_FILES
|
set(SUNSHINE_TARGET_FILES
|
||||||
moonlight-common-c/reedsolomon/rs.c
|
moonlight-common-c/reedsolomon/rs.c
|
||||||
moonlight-common-c/reedsolomon/rs.h
|
moonlight-common-c/reedsolomon/rs.h
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue