From 6ca44de7e6bc3abe4778823ac01978ac4a4a59f9 Mon Sep 17 00:00:00 2001 From: OpenSauce04 Date: Sun, 18 Aug 2024 18:11:25 +0100 Subject: [PATCH] Removed `ENABLE_COMPATIBILITY_LIST_DOWNLOAD` cmake option Closes #360 --- .ci/linux.sh | 1 - .ci/macos.sh | 1 - .ci/windows.sh | 1 - CMakeLists.txt | 6 ------ 4 files changed, 9 deletions(-) diff --git a/.ci/linux.sh b/.ci/linux.sh index 10219eef3..9e324befd 100755 --- a/.ci/linux.sh +++ b/.ci/linux.sh @@ -19,7 +19,6 @@ cmake .. -G Ninja \ -DCMAKE_C_COMPILER=clang-18 \ "${EXTRA_CMAKE_FLAGS[@]}" \ -DENABLE_QT_TRANSLATION=ON \ - -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON \ -DUSE_DISCORD_PRESENCE=ON ninja strip -s bin/Release/* diff --git a/.ci/macos.sh b/.ci/macos.sh index d666e64bb..c598fab85 100755 --- a/.ci/macos.sh +++ b/.ci/macos.sh @@ -7,7 +7,6 @@ cmake .. -GNinja \ -DCMAKE_C_COMPILER_LAUNCHER=ccache \ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ -DENABLE_QT_TRANSLATION=ON \ - -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON \ -DUSE_DISCORD_PRESENCE=ON ninja ninja bundle diff --git a/.ci/windows.sh b/.ci/windows.sh index 2762ed43e..ddcf5867f 100644 --- a/.ci/windows.sh +++ b/.ci/windows.sh @@ -6,7 +6,6 @@ cmake .. -G Ninja \ -DCMAKE_C_COMPILER_LAUNCHER=ccache \ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ -DENABLE_QT_TRANSLATION=ON \ - -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON \ -DUSE_DISCORD_PRESENCE=ON ninja ninja bundle diff --git a/CMakeLists.txt b/CMakeLists.txt index d2fb696b5..5ebf36798 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -152,12 +152,6 @@ endif() configure_file(${PROJECT_SOURCE_DIR}/dist/compatibility_list/compatibility_list.qrc ${PROJECT_BINARY_DIR}/dist/compatibility_list/compatibility_list.qrc COPYONLY) -if (ENABLE_COMPATIBILITY_LIST_DOWNLOAD AND NOT EXISTS ${PROJECT_BINARY_DIR}/dist/compatibility_list/compatibility_list.json) - message(STATUS "Downloading compatibility list for lime...") - file(DOWNLOAD - https://api.lime-emu.org/gamedb/ - "${PROJECT_BINARY_DIR}/dist/compatibility_list/compatibility_list.json" SHOW_PROGRESS) -endif() if (EXISTS ${PROJECT_SOURCE_DIR}/dist/compatibility_list/compatibility_list.json) file(COPY "${PROJECT_SOURCE_DIR}/dist/compatibility_list/compatibility_list.json" DESTINATION "${PROJECT_BINARY_DIR}/dist/compatibility_list/")