diff options
author | bunnei <[email protected]> | 2022-08-26 16:06:41 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2022-08-26 16:06:41 -0700 |
commit | 4b96f9864e05a3486224a6359654dfeed1c52729 (patch) | |
tree | c23e2f51eb7e200095a87ef7dc5892c5e2c40a24 /CMakeLists.txt | |
parent | a07502a6381ce1e84d7690693d595026c4844854 (diff) | |
parent | f85118604e74fbe4ea0a61884ffee7ea9923ad9f (diff) | |
download | yuzu-android-4b96f9864e05a3486224a6359654dfeed1c52729.tar.gz yuzu-android-4b96f9864e05a3486224a6359654dfeed1c52729.zip |
Merge pull request #8485 from nezd5553/master
cmake: Use compatibility list in source directory
Diffstat (limited to 'CMakeLists.txt')
-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 |