From 3701dffdeaa892761a1cc649c92e90d296c2952c Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Thu, 30 May 2024 22:32:24 -0400 Subject: [PATCH] build(windows): fix curl linking --- cmake/compile_definitions/common.cmake | 1 - cmake/compile_definitions/unix.cmake | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cmake/compile_definitions/common.cmake b/cmake/compile_definitions/common.cmake index 0c0bf4e8f56..90a71802cde 100644 --- a/cmake/compile_definitions/common.cmake +++ b/cmake/compile_definitions/common.cmake @@ -137,5 +137,4 @@ list(APPEND SUNSHINE_EXTERNAL_LIBRARIES ${FFMPEG_LIBRARIES} ${Boost_LIBRARIES} ${OPENSSL_LIBRARIES} - ${CURL_LIBRARIES} ${PLATFORM_LIBRARIES}) diff --git a/cmake/compile_definitions/unix.cmake b/cmake/compile_definitions/unix.cmake index 5232481ccfb..27df1249540 100644 --- a/cmake/compile_definitions/unix.cmake +++ b/cmake/compile_definitions/unix.cmake @@ -1,7 +1,9 @@ # unix specific compile definitions # 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 if(NOT SUNSHINE_ASSETS_DIR MATCHES "^${CMAKE_INSTALL_PREFIX}")