diff options
author | bunnei <bunneidev@gmail.com> | 2022-08-27 01:06:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-27 01:06:41 +0200 |
commit | 4b96f9864e05a3486224a6359654dfeed1c52729 (patch) | |
tree | c23e2f51eb7e200095a87ef7dc5892c5e2c40a24 | |
parent | Merge pull request #8812 from Kelebek1/auto (diff) | |
parent | cmake: Move source directory compatibility list... (diff) | |
download | yuzu-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.txt | 5 |
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 |