build(windows): fix windows.rc line too long errors (#4048)

This commit is contained in:
ReenigneArcher
2025-07-04 11:43:45 -04:00
committed by GitHub
parent 2259141bd2
commit 7e95d536a9
3 changed files with 26 additions and 16 deletions

View File

@@ -3,5 +3,6 @@ set_target_properties(sunshine PROPERTIES LINK_SEARCH_START_STATIC 1)
set(CMAKE_FIND_LIBRARY_SUFFIXES ".dll")
find_library(ZLIB ZLIB1)
list(APPEND SUNSHINE_EXTERNAL_LIBRARIES
$<TARGET_OBJECTS:sunshine_rc_object>
Windowsapp.lib
Wtsapi32.lib)