mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-29 00:18:59 +02:00
[frontend, android] Move update_checker to frontend_common and add Android support (#2687)
I still have to add a setting to disable the auto update checking on a later PR, firstly lets make sure i didn't accidentally break anything with CMAKE. or QT. Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2687 Reviewed-by: Lizzie <lizzie@eden-emu.dev> Reviewed-by: crueter <crueter@eden-emu.dev> Co-authored-by: Inix <Nixy01@proton.me> Co-committed-by: Inix <Nixy01@proton.me>
This commit is contained in:
parent
1971fbe5af
commit
cde02bfe46
50 changed files with 221 additions and 110 deletions
|
|
@ -15,5 +15,20 @@ add_library(frontend_common STATIC
|
|||
play_time_manager.h
|
||||
)
|
||||
|
||||
if (ENABLE_UPDATE_CHECKER)
|
||||
target_link_libraries(frontend_common PRIVATE httplib::httplib)
|
||||
target_link_libraries(frontend_common PRIVATE nlohmann_json::nlohmann_json)
|
||||
target_sources(frontend_common PRIVATE
|
||||
update_checker.cpp
|
||||
update_checker.h
|
||||
)
|
||||
|
||||
if (ENABLE_OPENSSL)
|
||||
target_compile_definitions(frontend_common PRIVATE CPPHTTPLIB_OPENSSL_SUPPORT)
|
||||
target_link_libraries(frontend_common PRIVATE OpenSSL::SSL)
|
||||
endif()
|
||||
|
||||
endif()
|
||||
|
||||
create_target_directory_groups(frontend_common)
|
||||
target_link_libraries(frontend_common PUBLIC core SimpleIni::SimpleIni PRIVATE common Boost::headers)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue