build(windows): fix curl linking (#2612)

This commit is contained in:
ReenigneArcher
2024-05-31 20:05:30 -04:00
committed by GitHub
parent 1a1833cfba
commit 80eb0517e6
2 changed files with 3 additions and 2 deletions

View File

@@ -137,5 +137,4 @@ list(APPEND SUNSHINE_EXTERNAL_LIBRARIES
${FFMPEG_LIBRARIES} ${FFMPEG_LIBRARIES}
${Boost_LIBRARIES} ${Boost_LIBRARIES}
${OPENSSL_LIBRARIES} ${OPENSSL_LIBRARIES}
${CURL_LIBRARIES}
${PLATFORM_LIBRARIES}) ${PLATFORM_LIBRARIES})

View File

@@ -1,7 +1,9 @@
# unix specific compile definitions # unix specific compile definitions
# put anything here that applies to both linux and macos # put anything here that applies to both linux and macos
list(APPEND SUNSHINE_EXTERNAL_LIBRARIES Boost::log) list(APPEND SUNSHINE_EXTERNAL_LIBRARIES
Boost::log
${CURL_LIBRARIES})
# add install prefix to assets path if not already there # add install prefix to assets path if not already there
if(NOT SUNSHINE_ASSETS_DIR MATCHES "^${CMAKE_INSTALL_PREFIX}") if(NOT SUNSHINE_ASSETS_DIR MATCHES "^${CMAKE_INSTALL_PREFIX}")