summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-08-27 01:06:41 +0200
committerGitHub <noreply@github.com>2022-08-27 01:06:41 +0200
commit4b96f9864e05a3486224a6359654dfeed1c52729 (patch)
treec23e2f51eb7e200095a87ef7dc5892c5e2c40a24
parentMerge pull request #8812 from Kelebek1/auto (diff)
parentcmake: Move source directory compatibility list... (diff)
downloadyuzu-4b96f9864e05a3486224a6359654dfeed1c52729.tar
yuzu-4b96f9864e05a3486224a6359654dfeed1c52729.tar.gz
yuzu-4b96f9864e05a3486224a6359654dfeed1c52729.tar.bz2
yuzu-4b96f9864e05a3486224a6359654dfeed1c52729.tar.lz
yuzu-4b96f9864e05a3486224a6359654dfeed1c52729.tar.xz
yuzu-4b96f9864e05a3486224a6359654dfeed1c52729.tar.zst
yuzu-4b96f9864e05a3486224a6359654dfeed1c52729.zip
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0ee012aca..2ab0ea589 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -89,6 +89,11 @@ endif()
configure_file(${PROJECT_SOURCE_DIR}/dist/compatibility_list/compatibility_list.qrc
${PROJECT_BINARY_DIR}/dist/compatibility_list/compatibility_list.qrc
COPYONLY)
+if (EXISTS ${PROJECT_SOURCE_DIR}/dist/compatibility_list/compatibility_list.json)
+ configure_file("${PROJECT_SOURCE_DIR}/dist/compatibility_list/compatibility_list.json"
+ "${PROJECT_BINARY_DIR}/dist/compatibility_list/compatibility_list.json"
+ COPYONLY)
+endif()
if (ENABLE_COMPATIBILITY_LIST_DOWNLOAD AND NOT EXISTS ${PROJECT_BINARY_DIR}/dist/compatibility_list/compatibility_list.json)
message(STATUS "Downloading compatibility list for yuzu...")
file(DOWNLOAD