Update moonlight-common-c

This commit is contained in:
Cameron Gutman committed 2026-11-11 01:41:00 -06:00
1 parent 8365f7e380
commit 33142e58eb
2 files changed
+11 -3

No files matched your search

+10 -2
View File
@@ -13,7 +13,11 @@ aux_source_directory(../third_party/h264bitstream GAMESTREAM_SRC_LIST)
aux_source_directory(../third_party/moonlight-common-c/enet MOONLIGHT_COMMON_SRC_LIST)
aux_source_directory(../third_party/moonlight-common-c/src MOONLIGHT_COMMON_SRC_LIST)
aux_source_directory(../third_party/moonlight-common-c/reedsolomon MOONLIGHT_COMMON_SRC_LIST)
list(APPEND MOONLIGHT_COMMON_SRC_LIST
../third_party/moonlight-common-c/nanors/rs.c
../third_party/moonlight-common-c/nanors/deps/obl/oblas_common.c
../third_party/moonlight-common-c/nanors/deps/obl/oblas_lite.c
)
add_library(moonlight-common SHARED ${MOONLIGHT_COMMON_SRC_LIST})
@@ -24,7 +28,11 @@ set_target_properties(gamestream PROPERTIES SOVERSION ${SO_VERSION} VERSION ${PR
set_target_properties(moonlight-common PROPERTIES SOVERSION ${SO_VERSION} VERSION ${PROJECT_VERSION})
target_include_directories(gamestream PRIVATE ../third_party/moonlight-common-c/src ../third_party/h264bitstream ${AVAHI_INCLUDE_DIRS} ${LibUUID_INCLUDE_DIRS})
target_include_directories(moonlight-common PRIVATE ../third_party/moonlight-common-c/reedsolomon ../third_party/moonlight-common-c/enet/include)
target_include_directories(moonlight-common
PRIVATE
../third_party/moonlight-common-c/nanors
../third_party/moonlight-common-c/nanors/deps/obl
../third_party/moonlight-common-c/enet/include)
target_link_libraries(gamestream ${CURL_LIBRARIES} ${OPENSSL_LIBRARIES} ${EXPAT_LIBRARIES} ${AVAHI_LIBRARIES} ${LibUUID_LIBRARIES})
target_link_libraries(gamestream ${CMAKE_THREAD_LIBS_INIT} ${CMAKE_DL_LIBS})