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}")