HTTPDownloader: Move to common

This commit is contained in:
Connor McLaughlin
2022-03-26 23:05:02 +10:00
parent cb51ab7197
commit d5128a5ea9
15 changed files with 54 additions and 51 deletions

View File

@@ -113,25 +113,6 @@ if(ENABLE_DISCORD_PRESENCE)
endif()
if(ENABLE_CHEEVOS)
target_sources(frontend-common PRIVATE
http_downloader.cpp
http_downloader.h
)
if(WIN32)
target_sources(frontend-common PRIVATE
http_downloader_winhttp.cpp
http_downloader_winhttp.h
)
elseif(NOT ANDROID)
target_sources(frontend-common PRIVATE
http_downloader_curl.cpp
http_downloader_curl.h
)
target_link_libraries(frontend-common PRIVATE
CURL::libcurl
)
endif()
target_sources(frontend-common PRIVATE
cheevos.cpp
cheevos.h